diff options
author | Johannes Schickel | 2015-12-21 04:49:25 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:25 +0100 |
commit | 5752f125e1a0d334c3a5bfcea314c4ffceede640 (patch) | |
tree | 96755c08c8a8221f2cb744b2a7edf203e66f4225 /backends/graphics/opengl/opengl-sys.h | |
parent | 1802c939a1a46d89df05cae5e30e2014646e30fa (diff) | |
download | scummvm-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.h | 5 |
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; |