Fix some warnings in examples.
This commit is contained in:
parent
8e1e1ef970
commit
d0b693c931
1 changed files with 105 additions and 104 deletions
|
|
@ -66,7 +66,7 @@ int main(void)
|
|||
Shader shader = LoadShader(0, TextFormat("resources/shaders/glsl%i/sdf.fs", GLSL_VERSION));
|
||||
SetTextureFilter(fontSDF.texture, FILTER_BILINEAR); // Required for SDF font
|
||||
|
||||
Vector2 fontPosition = { 40, screenHeight/2 - 50 };
|
||||
Vector2 fontPosition = { 40, screenHeight/2.0f - 50 };
|
||||
Vector2 textSize = { 0.0f, 0.0f };
|
||||
float fontSize = 16.0f;
|
||||
int currentFont = 0; // 0 - fontDefault, 1 - fontSDF
|
||||
|
|
|
|||
Loading…
Reference in a new issue