mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: switch from mediump
to highp
This fixes a rounding issue on certain hardware (NVidia) which actually implement mediump as half precision (16-bit) float. It's safe to assume `highp` is available as if the GPU does not support it, then the shader compiler will try to find a lower precision that is supported by the GPU
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#version 300 es
|
||||
precision mediump float;
|
||||
precision highp float;
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
|
Reference in New Issue
Block a user