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

Added Apple Mac support OLC_GFX_OPENGL33. #380

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Johnnyg63
Copy link

Johnngy63 & Sigonasr2:
Added Apple Mac support OLC_GFX_OPENGL33
Updated Sections and Lines:
Section: pragma region opengl33_iface:

Line: 1421, Updated Apple MARCOS
Line: 1491, Added definitions to support EGL and Swap Intervals ---

Section: START RENDERER: OpenGL 1.0 (the original, the best...)

Line: 4515, add Define Apple conditional statement ---

Section: START RENDERER: OpenGL 3.3 (3.0 es) (sh-sh-sh-shaders....)

Line: 5028, @sigonasr2, added GLUT_3_2_CORE_PROFILE and conditional statement ---

This update will allow the PGE 2.0 to run successfully on the Apple MAC. At present this update will use GLUT to create the required Window. However as there is a bug in GLUT when ran on the MAC, the resizing of the Window is currently not possible.

I will work on a solution where the PGE 2.0 will not require GLUT in the coming weeks

Kind regards

John

Johnngy63 & Sigonasr2: Added Apple Mac support OLC_GFX_OPENGL33
Updated Sections and Lines:
Section: pragma region opengl33_iface
Line: 1421, Updated Apple MARCOS
Line: 1491, Added definitions to support EGL and Swap Intervals 
---
Section: START RENDERER: OpenGL 1.0 (the original, the best...)    
Line: 4515, add Define Apple conditional statement
---
Section: START RENDERER: OpenGL 3.3 (3.0 es) (sh-sh-sh-shaders....)   
Line: 5028, @sigonasr2, added GLUT_3_2_CORE_PROFILE and conditional statement
---

This update will allow the PGE 2.0 to run successfully on the Apple MAC. At present this update will use GLUT to create the required Window. However as there is a bug in GLUT when ran on the MAC, the resizing of the Window is currently not possible.

I will work on a solution where the PGE 2.0 will not require GLUT in the coming weeks

Kind regards

John
Johnngy63 & Sigonasr2 & Ciarán:
Added Apple Mac support OLC_GFX_OPENGL33
Updated Sections and Lines:

Section: STANDARD INCLUDES
Line: 412, added #include <cassert>

Section: pragma region opengl33_iface:

Line: 1421, Updated Apple MARCOS
Line: 1491, Added definitions to support EGL and Swap Intervals ---

Section: START RENDERER: OpenGL 1.0 (the original, the best...)

Line: 4515, add Define Apple conditional statement ---

Section: START RENDERER: OpenGL 3.3 (3.0 es) (sh-sh-sh-shaders....)

Line: 5028, @sigonasr2, added GLUT_3_2_CORE_PROFILE and conditional statement ---

This update will allow the PGE 2.0 to run successfully on the Apple MAC. At present this update will use GLUT to create the required Window. However as there is a bug in GLUT when ran on the MAC, the resizing of the Window is currently not possible.

I will work on a solution where the PGE 2.0 will not require GLUT in the coming weeks

Kind regards

John
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.

1 participant