mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
GPU: Clean up some GLES3 defaults.
It should default both of them the same way. And we already set subimage on desktop.
This commit is contained in:
parent
c724df5f52
commit
c711b00d4c
2 changed files with 3 additions and 2 deletions
|
@ -281,10 +281,10 @@ void GPU_GLES::CheckGPUFeatures() {
|
|||
if (gl_extensions.OES_texture_npot)
|
||||
features |= GPU_SUPPORTS_OES_TEXTURE_NPOT;
|
||||
|
||||
if (gl_extensions.EXT_unpack_subimage || !gl_extensions.IsGLES)
|
||||
if (gl_extensions.EXT_unpack_subimage)
|
||||
features |= GPU_SUPPORTS_UNPACK_SUBIMAGE;
|
||||
|
||||
if (gl_extensions.EXT_blend_minmax || gl_extensions.GLES3)
|
||||
if (gl_extensions.EXT_blend_minmax)
|
||||
features |= GPU_SUPPORTS_BLEND_MINMAX;
|
||||
|
||||
if (gl_extensions.OES_copy_image || gl_extensions.NV_copy_image || gl_extensions.EXT_copy_image || gl_extensions.ARB_copy_image)
|
||||
|
|
|
@ -363,6 +363,7 @@ void CheckGLExtensions() {
|
|||
|
||||
// GLES 3 subsumes many ES2 extensions.
|
||||
if (gl_extensions.GLES3) {
|
||||
gl_extensions.EXT_blend_minmax = true;
|
||||
gl_extensions.EXT_unpack_subimage = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue