From d8fa54ffc43907de289e2699626bfe8760162b6f Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Mon, 9 Nov 2015 16:28:08 -0800 Subject: [PATCH] Fixing super class call in gl4 cp. --- src/xenia/gpu/gl4/gl4_command_processor.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xenia/gpu/gl4/gl4_command_processor.cc b/src/xenia/gpu/gl4/gl4_command_processor.cc index 046c6159d..2b14e8c31 100644 --- a/src/xenia/gpu/gl4/gl4_command_processor.cc +++ b/src/xenia/gpu/gl4/gl4_command_processor.cc @@ -81,6 +81,11 @@ void GL4CommandProcessor::ClearCaches() { } bool GL4CommandProcessor::SetupContext() { + if (!CommandProcessor::SetupContext()) { + XELOGE("Unable to initialize base command processor context"); + return false; + } + // Circular buffer holding scratch vertex/index data. if (!scratch_buffer_.Initialize()) { XELOGE("Unable to initialize scratch buffer"); @@ -321,7 +326,7 @@ void GL4CommandProcessor::ShutdownContext() { all_shaders_.clear(); shader_cache_.clear(); - context_.reset(); + CommandProcessor::ShutdownContext(); } void GL4CommandProcessor::MakeCoherent() {