[Mesa-dev] [PATCH] mesa: fix GLES1 version initialization for gallium
Marek Olšák
maraeo at gmail.com
Mon Jun 1 12:44:48 PDT 2015
From: Marek Olšák <marek.olsak at amd.com>
eglCreateContext was failing.
Broken by 03fd6704db9f1d0f203bf8da18bd587c7e35ce60
---
src/mesa/main/version.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 409e5ae..572f2da 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -137,7 +137,7 @@ bool
_mesa_override_gl_version_contextless(struct gl_constants *consts,
gl_api *apiOut, GLuint *versionOut)
{
- int version;
+ int version = 0;
bool fwd_context, compat_context;
get_gl_override(*apiOut, &version, &fwd_context, &compat_context);
--
2.1.0
More information about the mesa-dev
mailing list