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
7dca1866
Commit
7dca1866
authored
Jul 30, 2013
by
Geoff Lang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize the vertex current value data.
TRAC #23619 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
parent
d21656c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
version.h
src/common/version.h
+1
-1
Context.cpp
src/libGLESv2/Context.cpp
+6
-0
No files found.
src/common/version.h
View file @
7dca1866
#define MAJOR_VERSION 2
#define MAJOR_VERSION 2
#define MINOR_VERSION 0
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION
1999
#define BUILD_REVISION
2000
#define STRINGIFY(x) #x
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
src/libGLESv2/Context.cpp
View file @
7dca1866
...
@@ -127,6 +127,12 @@ Context::Context(int clientVersion, const gl::Context *shareContext, rx::Rendere
...
@@ -127,6 +127,12 @@ Context::Context(int clientVersion, const gl::Context *shareContext, rx::Rendere
mState
.
blend
.
colorMaskBlue
=
true
;
mState
.
blend
.
colorMaskBlue
=
true
;
mState
.
blend
.
colorMaskAlpha
=
true
;
mState
.
blend
.
colorMaskAlpha
=
true
;
const
GLfloat
defaultFloatValues
[]
=
{
0.0
f
,
0.0
f
,
0.0
f
,
1.0
f
};
for
(
int
attribIndex
=
0
;
attribIndex
<
MAX_VERTEX_ATTRIBS
;
attribIndex
++
)
{
mState
.
vertexAttribCurrentValues
[
attribIndex
].
setFloatValues
(
defaultFloatValues
);
}
if
(
shareContext
!=
NULL
)
if
(
shareContext
!=
NULL
)
{
{
mResourceManager
=
shareContext
->
mResourceManager
;
mResourceManager
=
shareContext
->
mResourceManager
;
...
...
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