mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 12:09:19 +02:00
Remove OpenGL ES / ANGLE render path
This commit is contained in:
@@ -39,10 +39,7 @@ std::optional<int64_t> gl::query::result()
|
||||
glGetQueryObjectuiv(*this, GL_QUERY_RESULT_AVAILABLE, &ready);
|
||||
int64_t value = 0;
|
||||
if (ready) {
|
||||
if (!Global.gfx_usegles)
|
||||
glGetQueryObjecti64v(*this, GL_QUERY_RESULT, &value);
|
||||
else
|
||||
glGetQueryObjectuiv(*this, GL_QUERY_RESULT, reinterpret_cast<GLuint*>(&value));
|
||||
glGetQueryObjecti64v(*this, GL_QUERY_RESULT, &value);
|
||||
|
||||
return std::optional<int64_t>(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user