mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
[GPU] Make static and const methods if possible
This commit is contained in:
1 parent
8aac45fec0
commit
b57dab2812
32 files changed
+64
-64
No files matched your search
@@ -464,7 +464,7 @@ bail:
|
||||
}
|
||||
|
||||
// TODO: Refactor this to a single USE flag.
|
||||
bool DrawEngineGLES::SupportsHWTessellation() const {
|
||||
bool DrawEngineGLES::SupportsHWTessellation() {
|
||||
bool hasTexelFetch = gl_extensions.GLES3 || (!gl_extensions.IsGLES && gl_extensions.VersionGEThan(3, 3, 0)) || gl_extensions.EXT_gpu_shader4;
|
||||
return hasTexelFetch && gstate_c.UseAll(GPU_USE_VERTEX_TEXTURE_FETCH | GPU_USE_TEXTURE_FLOAT | GPU_USE_INSTANCE_RENDERING);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user