Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
efb3bd1a
Commit
efb3bd1a
authored
Jul 02, 2013
by
Jamie Madill
Committed by
Shannon Woods
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for querying the currently bound vertex array object.
TRAC #23391 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Authored-by: Jamie Madill
parent
57a8972e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Context.cpp
src/libGLESv2/Context.cpp
+2
-0
No files found.
src/libGLESv2/Context.cpp
View file @
efb3bd1a
...
...
@@ -1539,6 +1539,7 @@ bool Context::getIntegerv(GLenum pname, GLint *params)
case
GL_DRAW_FRAMEBUFFER_BINDING_ANGLE
:
*
params
=
mState
.
drawFramebuffer
;
break
;
case
GL_READ_FRAMEBUFFER_BINDING_ANGLE
:
*
params
=
mState
.
readFramebuffer
;
break
;
case
GL_RENDERBUFFER_BINDING
:
*
params
=
mState
.
renderbuffer
.
id
();
break
;
case
GL_VERTEX_ARRAY_BINDING
:
*
params
=
mState
.
vertexArray
;
break
;
case
GL_CURRENT_PROGRAM
:
*
params
=
mState
.
currentProgram
;
break
;
case
GL_PACK_ALIGNMENT
:
*
params
=
mState
.
packAlignment
;
break
;
case
GL_PACK_REVERSE_ROW_ORDER_ANGLE
:
*
params
=
mState
.
packReverseRowOrder
;
break
;
...
...
@@ -2016,6 +2017,7 @@ bool Context::getQueryParameterInfo(GLenum pname, GLenum *type, unsigned int *nu
case
GL_MAX_VERTEX_UNIFORM_BLOCKS
:
case
GL_MAX_FRAGMENT_UNIFORM_BLOCKS
:
case
GL_MAX_COMBINED_UNIFORM_BLOCKS
:
case
GL_VERTEX_ARRAY_BINDING
:
{
*
type
=
GL_INT
;
*
numParams
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment