mirror of
https://github.com/holub/mame
synced 2025-07-07 19:03:29 +03:00
Fix sent upstream (nw)
This commit is contained in:
parent
1a8d5a27d9
commit
6fd77b36c2
6
3rdparty/bgfx/src/glcontext_ppapi.cpp
vendored
6
3rdparty/bgfx/src/glcontext_ppapi.cpp
vendored
@ -121,11 +121,15 @@ namespace bgfx { namespace gl
|
||||
|
||||
static void GL_APIENTRY naclGetQueryObjectiv(GLuint _id, GLenum _pname, GLint* _params)
|
||||
{
|
||||
BX_UNUSED(_id);
|
||||
BX_UNUSED(_pname);
|
||||
s_ppapi.m_query->GetQueryivEXT(s_ppapi.m_context, GL_ANY_SAMPLES_PASSED_EXT, GL_CURRENT_QUERY_EXT, _params);
|
||||
}
|
||||
|
||||
static void GL_APIENTRY naclGetQueryObjectui64v(GLuint _id, GLenum _pname, GLuint64* _params)
|
||||
{
|
||||
BX_UNUSED(_id);
|
||||
BX_UNUSED(_pname);
|
||||
GLint params;
|
||||
s_ppapi.m_query->GetQueryivEXT(s_ppapi.m_context, GL_ANY_SAMPLES_PASSED_EXT, GL_CURRENT_QUERY_EXT, ¶ms);
|
||||
*_params = params;
|
||||
@ -192,7 +196,7 @@ namespace bgfx { namespace gl
|
||||
BX_UNUSED(_width, _height);
|
||||
BX_TRACE("GlContext::create");
|
||||
|
||||
g_internalData.context = m_context;
|
||||
g_internalData.context = &s_ppapi.m_context;
|
||||
}
|
||||
|
||||
void GlContext::destroy()
|
||||
|
Loading…
Reference in New Issue
Block a user