summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render/nacl/naclgles.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/nacl/naclgles.cpp b/src/render/nacl/naclgles.cpp
index 90cd9b8c3..de80683ea 100644
--- a/src/render/nacl/naclgles.cpp
+++ b/src/render/nacl/naclgles.cpp
@@ -47,7 +47,9 @@ void NaclGles::initGles()
PSGetInterface(PPB_GRAPHICS_3D_INTERFACE_1_0));
gles2Context = glGetCurrentContextPPAPI();
- logger->log("InitGles: %p, %d", gles2Interface, gles2Context);
+ logger->log("InitGles: %p, %d",
+ static_cast<void*>(gles2Interface),
+ gles2Context);
}
#endif // defined(__native_client__) && defined(USE_OPENGL)