Skip to content

Added glx.h to OpenGL.h and commented out a return statement. #23

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

Merged
merged 3 commits into from
Jun 23, 2025

Conversation

Snoucher
Copy link
Contributor

glx.h helps with linux compilation, without it the functions glXGetCurrentContext and glXGetCurrentDisplay in raytracer.c don't get recgonised.

Also I commented out a return false; because it was inside a void function.

With these changes, I was able to compile the game on my linux machine. There are some things still need working on, like OpenCL-ICD-Loader just gives me headaches when trying to compile, but that's not this repo's problem :)

Snoucher added 2 commits May 18, 2025 14:11
Without this, the compiler cannot process some of the lines in Raytracer.c I know because I personally tried to compile this game.
@Snoucher Snoucher requested a review from johnpayne-dev June 18, 2025 13:06
@johnpayne-dev johnpayne-dev merged commit 5f6cb39 into johnpayne-dev:main Jun 23, 2025
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