Project

General

Profile

« Previous | Next » 

Revision a99bba67

Added by Leszek Koltunski 2 days ago

Fix for bugs in Qualcomm Adreno 308 and 650 - the compilators do not like the literal constant 0x80000000 there.

View differences:

src/main/res/raw/main_vertex_shader.glsl
131 131
#endif
132 132

  
133 133
#ifdef POSTPROCESS
134
  if( (vComAssoc[component].x & 0x80000000) != 0 )
134
  if( (uint(vComAssoc[component].x) & 0x80000000u) != 0u )
135 135
    {
136 136
    v = vec3(0.0, 0.0, 0.0);
137 137
    }

Also available in: Unified diff