mirror of https://github.com/axmolengine/axmol.git
Bug fixes for Nacl port.
This commit is contained in:
parent
00391997ae
commit
23f23be681
|
@ -108,7 +108,7 @@ bool OpenGLContext::MakeContextCurrent()
|
|||
return false;
|
||||
}
|
||||
|
||||
CCLOG("glSetCurrentContextPPAPI: %p", m_graphics3d.pp_resource());
|
||||
CCLOG("glSetCurrentContextPPAPI: %p", (void*)m_graphics3d.pp_resource());
|
||||
glSetCurrentContextPPAPI(m_graphics3d.pp_resource());
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ bool CocosPepperInstance::Init(uint32_t argc, const char* argn[], const char* ar
|
|||
#ifdef OLD_NACL_MOUNTS
|
||||
m_runner = new MainThreadRunner(this);
|
||||
#else
|
||||
CCLOG("%p %p", pp_instance(), pp::Module::Get()->get_browser_interface());
|
||||
CCLOG("%p %p", (void*)pp_instance(), (void*)pp::Module::Get()->get_browser_interface());
|
||||
nacl_io_init_ppapi(pp_instance(), pp::Module::Get()->get_browser_interface());
|
||||
CCLOG("done nacl_mounts_init_ppapi");
|
||||
|
||||
|
|
Loading…
Reference in New Issue