소스 검색

neercs: more pre-shader4 compatibility tweaks.

master
Sam Hocevar 12 년 전
부모
커밋
9bf9e7fe44
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. +11
    -2
      neercs/video/text.lolfx

+ 11
- 2
neercs/video/text.lolfx 파일 보기

@@ -7,8 +7,9 @@
#if HAVE_SHADER_4
in uint in_Char, in_Attr;
#else
in vec4 in_Char, in_Attr;
in float in_VertexID;
attribute vec4 in_Char, in_Attr;
attribute float in_VertexID;
# define out varying
#endif

out vec4 pass_Foreground;
@@ -78,6 +79,14 @@ void main()

#version 130

#define HAVE_SHADER_4 1

#if !HAVE_SHADER_4
# define out_Color gl_FragColor
# define in varying
# define out
#endif

in vec4 pass_Foreground;
in vec4 pass_Background;
in vec2 pass_UV;


불러오는 중...
취소
저장