diff options
| author | Ray <[email protected]> | 2019-05-18 01:24:00 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-05-18 01:24:00 +0200 |
| commit | 6332bc039878c870538ce4c1ce47d3caaf3a40c4 (patch) | |
| tree | 7822b225e6e73f906d48f280691035265f73b587 /examples/models/resources | |
| parent | 5ef7beb0c509b61d2ccc913360fea4c446ff4d4c (diff) | |
| download | raylib-6332bc039878c870538ce4c1ce47d3caaf3a40c4.tar.gz raylib-6332bc039878c870538ce4c1ce47d3caaf3a40c4.zip | |
Corrected issue with shader loading
When using FormatText() several times in same function, returned string is static and so, the same is returned, resulting in failures on shader loading.
Diffstat (limited to 'examples/models/resources')
| -rw-r--r-- | examples/models/resources/shaders/glsl330/skybox.vs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/resources/shaders/glsl330/skybox.vs b/examples/models/resources/shaders/glsl330/skybox.vs index dcbe6c3d..4fe9a2c3 100644 --- a/examples/models/resources/shaders/glsl330/skybox.vs +++ b/examples/models/resources/shaders/glsl330/skybox.vs @@ -28,5 +28,5 @@ void main() vec4 clipPos = projection*rotView*vec4(vertexPosition, 1.0); // Calculate final vertex position - gl_Position = clipPos.xyww; + gl_Position = clipPos.xyzw; } |
