summaryrefslogtreecommitdiff
path: root/gpu_tonemapper/glengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpu_tonemapper/glengine.cpp')
-rw-r--r--gpu_tonemapper/glengine.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/gpu_tonemapper/glengine.cpp b/gpu_tonemapper/glengine.cpp
index 6cfe15f5..6c94c23a 100644
--- a/gpu_tonemapper/glengine.cpp
+++ b/gpu_tonemapper/glengine.cpp
@@ -47,27 +47,6 @@ void engine_bind(void* context)
}
//-----------------------------------------------------------------------------
-// store the current context(caller)
-void* engine_backup()
-{
- EngineContext* callerContext = new EngineContext();
- // store the previous display/context
- callerContext->eglDisplay = eglGetCurrentDisplay();
- callerContext->eglContext = eglGetCurrentContext();
- callerContext->eglSurface = eglGetCurrentSurface(EGL_DRAW);
-
- return (void*)callerContext;
-}
-//-----------------------------------------------------------------------------
-// frees the backed up caller context
-void engine_free_backup(void* context)
-{
- EngineContext* callerContext = (EngineContext*)(context);
-
- delete callerContext;
-}
-
-//-----------------------------------------------------------------------------
// initialize GL
//
void* engine_initialize(bool isSecure)