From d58c0e933172a24ab5c2c26926a833138ae724f1 Mon Sep 17 00:00:00 2001 From: rogerman Date: Tue, 23 Jul 2024 21:39:07 -0700 Subject: [PATCH] OpenGL Renderer: Oops! Fix a compiling issue introduced in commit e2a25e2. --- desmume/src/OGLRender.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/OGLRender.cpp b/desmume/src/OGLRender.cpp index aa3b92202..a92f9601f 100644 --- a/desmume/src/OGLRender.cpp +++ b/desmume/src/OGLRender.cpp @@ -978,7 +978,7 @@ static Render3D* OpenGLRendererCreate() strncpy(variantString, "OpenGL (auto)", sizeof(variantString)); break; - case OpenGLVariantID_ES_3_0: + case OpenGLVariantID_ES3_3_0: strncpy(variantString, "OpenGL ES 3.0", sizeof(variantString)); break; @@ -1020,7 +1020,7 @@ static Render3D* OpenGLRendererCreate() } // Create new OpenGL rendering object - if (VARIANTID == OpenGLVariantID_ES_3_0) + if (VARIANTID == OpenGLVariantID_ES3_3_0) { if ( (OGLLoadEntryPoints_ES_3_0_Func != NULL) && (OGLCreateRenderer_ES_3_0_Func != NULL) ) {