mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Fix the GL error assert macro
This commit is contained in:
parent
64d9f18c39
commit
d08d1f3132
@ -19,7 +19,7 @@ static unsigned int s_LastSpsLength;
|
|||||||
static unsigned int s_LastPpsLength;
|
static unsigned int s_LastPpsLength;
|
||||||
static uint64_t s_LastPaintFinishedTime;
|
static uint64_t s_LastPaintFinishedTime;
|
||||||
|
|
||||||
#define assertNoGLError() assert(!g_Instance->m_GlesApi->GetError(g_Instance->m_Graphics3D->pp_resource()))
|
#define assertNoGLError() assert(!glGetError())
|
||||||
|
|
||||||
static const char k_VertexShader[] =
|
static const char k_VertexShader[] =
|
||||||
"varying vec2 v_texCoord; \n"
|
"varying vec2 v_texCoord; \n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user