Fixing super class call in gl4 cp.
This commit is contained in:
parent
182f074c3f
commit
d8fa54ffc4
|
@ -81,6 +81,11 @@ void GL4CommandProcessor::ClearCaches() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GL4CommandProcessor::SetupContext() {
|
bool GL4CommandProcessor::SetupContext() {
|
||||||
|
if (!CommandProcessor::SetupContext()) {
|
||||||
|
XELOGE("Unable to initialize base command processor context");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Circular buffer holding scratch vertex/index data.
|
// Circular buffer holding scratch vertex/index data.
|
||||||
if (!scratch_buffer_.Initialize()) {
|
if (!scratch_buffer_.Initialize()) {
|
||||||
XELOGE("Unable to initialize scratch buffer");
|
XELOGE("Unable to initialize scratch buffer");
|
||||||
|
@ -321,7 +326,7 @@ void GL4CommandProcessor::ShutdownContext() {
|
||||||
all_shaders_.clear();
|
all_shaders_.clear();
|
||||||
shader_cache_.clear();
|
shader_cache_.clear();
|
||||||
|
|
||||||
context_.reset();
|
CommandProcessor::ShutdownContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GL4CommandProcessor::MakeCoherent() {
|
void GL4CommandProcessor::MakeCoherent() {
|
||||||
|
|
Loading…
Reference in New Issue