GPU/OpenGL: Fix GLES again

This commit is contained in:
Connor McLaughlin
2020-05-03 19:38:27 +10:00
parent 8139230d05
commit 257c86930f
3 changed files with 23 additions and 14 deletions

View File

@ -48,6 +48,8 @@ private:
u32 num_uniform_buffer_updates;
};
ALWAYS_INLINE bool IsGLES() const { return (m_render_api == HostDisplay::RenderAPI::OpenGLES); }
std::tuple<s32, s32> ConvertToFramebufferCoordinates(s32 x, s32 y);
void SetCapabilities(HostDisplay* host_display);
@ -93,7 +95,6 @@ private:
u32 m_uniform_buffer_alignment = 1;
u32 m_max_texture_buffer_size = 0;
bool m_is_gles = false;
bool m_supports_texture_buffer = false;
bool m_supports_geometry_shaders = false;
};