Browse Source

Update shaders_julia_set.c

pull/1716/head
Ray 3 years ago
parent
commit
bdc5686e4c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/shaders/shaders_julia_set.c

+ 2
- 2
examples/shaders/shaders_julia_set.c View File

@ -42,7 +42,7 @@ int main(void)
const int screenWidth = 800;
const int screenHeight = 450;
SetConfigFlags(FLAG_WINDOW_HIGHDPI);
o">//SetConfigFlags(FLAG_WINDOW_HIGHDPI);
InitWindow(screenWidth, screenHeight, "raylib [shaders] example - julia sets");
// Load julia set shader
@ -165,7 +165,7 @@ int main(void)
BeginShaderMode(shader);
// WARNING: If FLAG_WINDOW_HIGHDPI is enabled, HighDPI monitor scaling should be considered
// when rendering the RenderTexture2D to fit in the HighDPI scaled Window
DrawTextureEx(target.texture, (Vector2){ 0.0f, 0.0f }, 0.0f, n">GetWindowScaleDPI().x, WHITE);
DrawTextureEx(target.texture, (Vector2){ 0.0f, 0.0f }, 0.0f, mf">1.0f, WHITE);
EndShaderMode();
if (showControls)

Loading…
Cancel
Save