mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-25 21:50:13 +00:00
Fix the GL error assert macro
This commit is contained in:
1 parent
64d9f18c39
commit
d08d1f3132
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user