mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Add flag for core GL contexts.
Since using VBOs all the time is slower.
This commit is contained in:
parent
164594b044
commit
27ad8185e3
@ -505,7 +505,7 @@ void GLES_GPU::CheckGPUFeatures() {
|
||||
if (gl_extensions.NV_framebuffer_blit) {
|
||||
features |= GPU_SUPPORTS_NV_FRAMEBUFFER_BLIT;
|
||||
}
|
||||
if (gl_extensions.ARB_vertex_array_object) {
|
||||
if (gl_extensions.ARB_vertex_array_object && gl_extensions.IsCoreContext) {
|
||||
features |= GPU_SUPPORTS_VAO;
|
||||
}
|
||||
|
||||
|
@ -35,6 +35,7 @@ struct GLExtensions {
|
||||
char model[128];
|
||||
|
||||
bool IsGLES;
|
||||
bool IsCoreContext;
|
||||
bool GLES3; // true if the full OpenGL ES 3.0 is supported
|
||||
|
||||
// OES
|
||||
|
Loading…
Reference in New Issue
Block a user