diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-08 00:15:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-08 00:15:41 +0300 |
commit | b518af11e5c0b66157e9ca624f6404152deffb66 (patch) | |
tree | cadbfc85236413bb3906ad75d38a6e87f2a60161 /src/render/nacl | |
parent | 8560fa44d8d89e0b1b45e3f951d67a7c07974c43 (diff) | |
download | plus-b518af11e5c0b66157e9ca624f6404152deffb66.tar.gz plus-b518af11e5c0b66157e9ca624f6404152deffb66.tar.bz2 plus-b518af11e5c0b66157e9ca624f6404152deffb66.tar.xz plus-b518af11e5c0b66157e9ca624f6404152deffb66.zip |
Fix warning in nacl build.
Diffstat (limited to 'src/render/nacl')
-rw-r--r-- | src/render/nacl/naclgles.cpp | 4 |
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) |