mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Fixed shaders on desktop GL.
This commit is contained in:
parent
6b3869ce90
commit
b2cb923e28
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ lcContext::~lcContext()
|
||||||
void lcContext::CreateShaderPrograms()
|
void lcContext::CreateShaderPrograms()
|
||||||
{
|
{
|
||||||
#ifndef LC_OPENGLES
|
#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_INPUT "attribute "
|
||||||
#define LC_VERTEX_OUTPUT "varying "
|
#define LC_VERTEX_OUTPUT "varying "
|
||||||
#define LC_PIXEL_INPUT "varying "
|
#define LC_PIXEL_INPUT "varying "
|
||||||
|
|
Loading…
Add table
Reference in a new issue