summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r--opengl/libagl/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp
index a00f779..a59b3b0 100644
--- a/opengl/libagl/state.cpp
+++ b/opengl/libagl/state.cpp
@@ -101,7 +101,7 @@ ogles_context_t *ogles_init(size_t extra)
c->copybits.blitEngine = NULL;
c->copybits.minScale = 0;
c->copybits.maxScale = 0;
- c->copybits.drawSurfaceFd = -1;
+ c->copybits.drawSurfaceBuffer = 0;
#ifdef LIBAGL_USE_GRALLOC_COPYBITS
hw_module_t const* module;