Revision 135be991
Added by Leszek Koltunski about 7 years ago
src/main/res/raw/feedback_fragment_shader.glsl | ||
---|---|---|
19 | 19 |
|
20 | 20 |
precision mediump float; |
21 | 21 |
|
22 |
out vec4 fragColor; |
|
22 |
#if __VERSION__ != 100 |
|
23 |
out vec4 fragColor; // The output color |
|
24 |
#define FRAG_COLOR fragColor |
|
25 |
#else |
|
26 |
#define FRAG_COLOR gl_FragColor |
|
27 |
#endif |
|
23 | 28 |
|
24 | 29 |
////////////////////////////////////////////////////////////////////////////////////////////// |
25 | 30 |
|
26 | 31 |
void main() |
27 | 32 |
{ |
28 |
fragColor = vec4(1.0,1.0,1.0,1.0);
|
|
33 |
FRAG_COLOR = vec4(1.0,1.0,1.0,1.0);
|
|
29 | 34 |
} |
Also available in: Unified diff
Revert "Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'."
This reverts commit 21304c55380460c5882b789ea13eb00ffd9a686c.