mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-23 03:04:03 -04:00
[Fix] (glsl_for_es.cpp): inject textureQueryLod emulation only when GL_EXT_texture_query_lod is not available
This commit is contained in:
parent
180298da09
commit
d4dfb56423
@ -562,9 +562,11 @@ std::string preprocess_glsl(const std::string& glsl) {
|
||||
|
||||
// GI_TemporalFilter injection
|
||||
inject_temporal_filter(ret);
|
||||
|
||||
|
||||
// textureQueryLod injection
|
||||
inject_textureQueryLod(ret);
|
||||
if (!g_gles_caps.GL_EXT_texture_query_lod) {
|
||||
inject_textureQueryLod(ret);
|
||||
}
|
||||
|
||||
// MobileGlues macros injection
|
||||
inject_mg_macro_definition(ret);
|
||||
|
Loading…
x
Reference in New Issue
Block a user