mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Some cleanups in GL feature and shader language detection.
Gets rid of many wrong or bad checks for IsCoreContext.
This commit is contained in:
1 parent
afaff2e299
commit
32c9728c0c
8 files changed
+41
-46
No files matched your search
@@ -105,7 +105,7 @@ FramebufferManagerGLES::FramebufferManagerGLES(Draw::DrawContext *draw, GLRender
|
||||
needGLESRebinds_ = true;
|
||||
CreateDeviceObjects();
|
||||
render_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
|
||||
presentation_->SetLanguage(gl_extensions.IsCoreContext ? GLSL_3xx : GLSL_1xx);
|
||||
presentation_->SetLanguage(draw_->GetShaderLanguageDesc().shaderLanguage);
|
||||
}
|
||||
|
||||
void FramebufferManagerGLES::Init() {
|
||||
|
||||
Reference in new issue
Block a user