mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-21 17:21:45 +00:00
WARNING: Redesigned SetShaderValue()
This commit is contained in:
@@ -79,7 +79,7 @@ int main()
|
||||
swirlCenter[1] = screenHeight - mousePosition.y;
|
||||
|
||||
// Send new value to the shader to be used on drawing
|
||||
SetShaderValue(shader, swirlCenterLoc, swirlCenter, 2);
|
||||
SetShaderValue(shader, swirlCenterLoc, swirlCenter, UNIFORM_VEC2);
|
||||
|
||||
UpdateCamera(&camera); // Update camera
|
||||
//----------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user