Added Apple Mac support OLC_GFX_OPENGL33. #380
Open
Johnnyg63 wants to merge 2 commits intoOneLoneCoder:developfrom
Open
Added Apple Mac support OLC_GFX_OPENGL33. #380Johnnyg63 wants to merge 2 commits intoOneLoneCoder:developfrom
Johnnyg63 wants to merge 2 commits intoOneLoneCoder:developfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Johnngy63 & Sigonasr2:
Added Apple Mac support OLC_GFX_OPENGL33
Updated Sections and Lines:
Section: pragma region opengl33_iface:
Section: START RENDERER: OpenGL 1.0 (the original, the best...)
Section: START RENDERER: OpenGL 3.3 (3.0 es) (sh-sh-sh-shaders....)
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