Fixed shaders on desktop GL.

This commit is contained in:
Leonardo Zide 2017-02-11 12:43:47 -08:00
parent 6b3869ce90
commit b2cb923e28

View file

@ -109,7 +109,7 @@ lcContext::~lcContext()
void lcContext::CreateShaderPrograms()
{
#ifndef LC_OPENGLES
#define LC_SHADER_VERSION "#version 110\n"
#define LC_SHADER_VERSION "#version 110\n#define mediump\n"
#define LC_VERTEX_INPUT "attribute "
#define LC_VERTEX_OUTPUT "varying "
#define LC_PIXEL_INPUT "varying "