Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix examples warnings for macos #3842

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

aiafrasinei
Copy link
Contributor

Fix the below warnings in examples for macos (version 14.3.1, clang 14):

others/raylib_opengl_interop.c:158:5: warning: 'glDeleteVertexArrays' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations]
glDeleteVertexArrays(1, &vao);

models/models_first_person_maze.c:37:13: warning: unused variable 'position' [-Wunused-variable]
Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position

text/text_codepoints_loading.c:63:9: warning: variable 'codepoint' set but not used [-Wunused-but-set-variable]
int codepoint = 0;

@raysan5 raysan5 merged commit 2aed94c into raysan5:master Feb 27, 2024
@raysan5
Copy link
Owner

raysan5 commented Feb 27, 2024

@aiafrasinei thanks fir the reviews!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants