Skip to content

Conversation

@LukaTD
Copy link
Contributor

@LukaTD LukaTD commented Nov 4, 2025

The last of OpenGL 1.5 wrapper functions.

@hazeycode hazeycode requested a review from Copilot November 6, 2025 00:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds wrapper functions for OpenGL 1.5 buffer query and mapping operations. The changes introduce type-safe Zig wrappers around the low-level OpenGL buffer management APIs.

  • Adds new enum types (Access, BufferParameter, BufferPointerParameter) for buffer-related parameters
  • Implements wrapper functions for buffer queries (isBuffer, getBufferParameteriv, getBufferPointerv, getBufferSubData)
  • Implements buffer mapping functions (mapBuffer, unmapBuffer)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hazeycode hazeycode merged commit d235e52 into zig-gamedev:main Nov 6, 2025
3 checks passed
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