Skip to content

Added missing OpenGL 1.5 buffer functions to wrapper - #26

Merged
hazeycode merged 2 commits into
zig-gamedev:mainfrom
LukaTD:wrapper-buffer-15
Nov 6, 2025
Merged

Added missing OpenGL 1.5 buffer functions to wrapper#26
hazeycode merged 2 commits into
zig-gamedev:mainfrom
LukaTD:wrapper-buffer-15

Conversation

@LukaTD

@LukaTD LukaTD commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

The last of OpenGL 1.5 wrapper functions.

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

Copilot AI left a comment

Copy link
Copy Markdown

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.

Comment thread src/wrapper.zig Outdated
Comment thread src/wrapper.zig
@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.

3 participants