Kaynağa Gözat

Update shaders_texture_drawing.c

Ray 2 hafta önce
ebeveyn
işleme
dd0587e12a
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 3
      examples/shaders/shaders_texture_drawing.c

+ 1 - 3
examples/shaders/shaders_texture_drawing.c

@@ -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);