Browse Source

Update shaders_texture_drawing.c

pull/5170/head
Ray 1 month ago
parent
commit
dd0587e12a
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      examples/shaders/shaders_texture_drawing.c

+ 1
- 3
examples/shaders/shaders_texture_drawing.c View File

@ -4,8 +4,6 @@
*
* Example complexity rating: [] 2/4
*
* NOTE: This example illustrates how to draw into a blank texture using a shader
*
* Example originally created with raylib 2.0, last time updated with raylib 3.7
*
* Example contributed by Michał Ciesielski (@ciessielski) and reviewed by Ramon Santamaria (@raysan5)
@ -67,7 +65,7 @@ int main(void)
ClearBackground(RAYWHITE);
BeginShaderMode(shader); // Enable our custom shader for next shapes/textures drawings
DrawTexture(texture, 0, 0, WHITE); // Drawing BLANK texture, all magic happens on shader
DrawTexture(texture, 0, 0, WHITE); // Drawing BLANK texture, all rendering magic happens on shader
EndShaderMode(); // Disable our custom shader, return to default shader
DrawText("BACKGROUND is PAINTED and ANIMATED on SHADER!", 10, 10, 20, MAROON);

Loading…
Cancel
Save