Skip to content

Add opengl-mojo package#182

Open
ssslakter wants to merge 8 commits intomodular:mainfrom
ssslakter:main
Open

Add opengl-mojo package#182
ssslakter wants to merge 8 commits intomodular:mainfrom
ssslakter:main

Conversation

@ssslakter
Copy link

Checklist

  • My recipe.yaml file specifies which version(s) of MAX is compatible with my project (see here for an example). If not, my package is compatible with both 24.5 and 24.6.
  • License file is packaged (see here for an example).
  • Set the build number to 0 (for new packages, or if the version changed).

@yetalit
Copy link
Collaborator

yetalit commented Nov 20, 2025

Hi @ssslakter , would you mind enabling CodeQL on your repo and adding its badge to the README?

@ssslakter
Copy link
Author

@yetalit Done. Sorry for a late reply..😅
Noticed some activity on the repo and realized I still had this pending.

@carolinefrasca
Copy link
Collaborator

Hi @ssslakter, apologies for the delay on this! It seems there's an error when we build the PR:

 │ │ Included from src/__init__.mojo:1:
 │ │ $SRC_DIR/src/gl.mojo:10124:44: error: inferred parameter passed out of order: 'mut'
 │ │ fn viewport_indexedfv(index: GLuint, v: Ptr[GLfloat, mut=False]) raises:
 │ │                                            ^
 │ │ src/__init__.mojo:1:1: note: 'UnsafePointer' declared here
 │ │ from .gl import *
 │ │ ^
 │ │ Included from src/__init__.mojo:1:
 │ │ $SRC_DIR/src/gl.mojo:10130:49: error: cannot call dynamic function with parameterized type
 │ │     return _glWaitSync_ptr.get_or_create_ptr()[](sync, flags, timeout)
 │ │                                                 ^
 │ │ mojo: error: failed to parse the provided Mojo source module

Please see: https://github.com/modular/modular-community/actions/runs/23498943558/job/68388130647?pr=182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants