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

use OpenGL core profile on macOS with Haxe and OpenFL #2699

Closed
wants to merge 2 commits into from

Conversation

shubh1777
Copy link

To use OpenGL core profile on macOS with Haxe and OpenFL:

  1. Install Haxe and OpenFL:
    Install Haxe from https://haxe.org/download/. Then, install OpenFL via Haxe CLI:

     haxelib install openfl
     haxelib run openfl setup
    
  2. Create an OpenFL Project:
    openfl create project MyOpenGLProject
    cd MyOpenGLProject

  3. OpenGL Access:
    Use lime.graphics.opengl.* for lower-level OpenGL control, crucial for core profile features.

  4. Configuring Core Profile on macOS:
    macOS requires Cocoa API interaction for OpenGL core profile contexts. You may need custom native code interfacing with NSOpenGLContext or a library that handles this.

  5. Community Resources:

  1. Seek Examples and Libraries:
    Explore the Haxe/OpenFL ecosystem for existing solutions.

This Fixes #2688

@joshtynjala
Copy link
Member

This is not a detail that we plan to add to the README. Thanks, though.

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.

how do i use the core opengl core profile on macOS haxe?
2 participants