aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-sys.h
diff options
context:
space:
mode:
authorJohannes Schickel2015-12-21 04:49:25 +0100
committerJohannes Schickel2016-03-16 20:29:25 +0100
commit5752f125e1a0d334c3a5bfcea314c4ffceede640 (patch)
tree96755c08c8a8221f2cb744b2a7edf203e66f4225 /backends/graphics/opengl/opengl-sys.h
parent1802c939a1a46d89df05cae5e30e2014646e30fa (diff)
downloadscummvm-rg350-5752f125e1a0d334c3a5bfcea314c4ffceede640.tar.gz
scummvm-rg350-5752f125e1a0d334c3a5bfcea314c4ffceede640.tar.bz2
scummvm-rg350-5752f125e1a0d334c3a5bfcea314c4ffceede640.zip
OPENGL: Make Context::reset explicitly reset state.
Diffstat (limited to 'backends/graphics/opengl/opengl-sys.h')
-rw-r--r--backends/graphics/opengl/opengl-sys.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/graphics/opengl/opengl-sys.h b/backends/graphics/opengl/opengl-sys.h
index 6da1850cba..239512bc8a 100644
--- a/backends/graphics/opengl/opengl-sys.h
+++ b/backends/graphics/opengl/opengl-sys.h
@@ -85,9 +85,10 @@ struct Context {
/**
* Reset context.
*
- * This marks all extensions as unavailable.
+ * This marks all extensions as unavailable and clears all function
+ * pointers.
*/
- void reset(bool full = false);
+ void reset();
/** Whether GL_ARB_texture_non_power_of_two is available or not. */
bool NPOTSupported;