Ray 6 년 전
부모
커밋
c1594fa445
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. BIN
      examples/models/models_animation.png
  2. 1 1
      examples/shaders/shaders_julia_set.c

BIN
examples/models/models_animation.png


+ 1 - 1
examples/shaders/shaders_julia_set.c

@@ -64,7 +64,7 @@ int main()
     int offsetLoc = GetShaderLocation(shader, "offset");
 
     // Tell the shader what the screen dimensions, zoom, offset and c are
-    float screenDims[2] = { (float)screenWidth, (float)screenHeight };
+    float screenDims[2] = { (float)GetScreenWidth(), (float)GetScreenHeight() };
     SetShaderValue(shader, GetShaderLocation(shader, "screenDims"), screenDims, UNIFORM_VEC2);
     
     SetShaderValue(shader, cLoc, c, UNIFORM_VEC2);