From e976c0621f04861d96117f43ee8f2b64e2784477 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 9 Jul 2018 16:53:59 +0100 Subject: [PATCH] Linux compile fix --- renderdoc/driver/gl/egl_hooks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoc/driver/gl/egl_hooks.cpp b/renderdoc/driver/gl/egl_hooks.cpp index 707b61c49..68bab95b6 100644 --- a/renderdoc/driver/gl/egl_hooks.cpp +++ b/renderdoc/driver/gl/egl_hooks.cpp @@ -356,9 +356,9 @@ HOOK_EXPORT EGLBoolean EGLAPIENTRY eglPostSubBufferNV(EGLDisplay dpy, EGLSurface init.isYFlipped = eglhook.IsYFlipped(dpy, surface); eglhook.driver.SetDriverType(RDCDriver::OpenGLES); - eglhook.driver.WindowSize(eglhook.windows[surface], winwidth, winheight); + eglhook.driver.WindowSize((void *)eglhook.windows[surface], winwidth, winheight); if(!eglhook.driver.UsesVRFrameMarkers()) - eglhook.driver.SwapBuffers(eglhook.windows[surface]); + eglhook.driver.SwapBuffers((void *)eglhook.windows[surface]); return EGL.PostSubBufferNV(dpy, surface, x, y, width, height); }