Skip to content

Commit

Permalink
Merge branch 'main' of github.com:wasabia/flutter_gl
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabia committed Oct 4, 2022
2 parents fdae685 + af7131a commit b00a33c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flutter_gl/lib/openGL/opengl/OpenGLContextDesktop.dart
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,10 @@ class OpenGLContextDesktop extends OpenGL30Constant {
void texStorage3D(target, levels, internalformat, width, height, depth) {
return glTexStorage3D(target, levels, internalformat, width, height, depth);
}

void bindBufferBase(int target, int index, int buffer) {
return glBindBufferBase(target, index, buffer);
}

createTransformFeedback() {
final vPointer = calloc<Uint32>();
Expand Down
4 changes: 4 additions & 0 deletions flutter_gl/lib/openGL/opengl/OpenGLContextES.dart
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,10 @@ class OpenGLContextES extends OpenGL30Constant {
target, levels, internalformat, width, height, depth);
}

void bindBufferBase(int target, int index, int buffer) {
return gl.glBindBufferBase(target, index, buffer);
}

createTransformFeedback() {
final vPointer = calloc<Uint32>();
gl.glGenTransformFeedbacks(1, vPointer);
Expand Down

0 comments on commit b00a33c

Please sign in to comment.