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
b93f84ac
Commit
b93f84ac
authored
Aug 01, 2013
by
Alok Priyadarshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made multiple calls to ShInitialize not assert.
BUG=456 R=apatrick@chromium.org, kbr@chromium.org Review URL:
https://codereview.appspot.com/11916046
parent
f1e1c1e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
version.h
src/common/version.h
+1
-1
ShaderLang.cpp
src/compiler/ShaderLang.cpp
+4
-3
No files found.
src/common/version.h
View file @
b93f84ac
#define MAJOR_VERSION 1
#define MINOR_VERSION 2
#define BUILD_VERSION 0
#define BUILD_REVISION 243
0
#define BUILD_REVISION 243
1
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
src/compiler/ShaderLang.cpp
View file @
b93f84ac
...
...
@@ -85,12 +85,13 @@ static void getVariableInfo(ShShaderInfo varType,
}
//
// Driver must call this first, once, before doing any other
//
compiler operations
.
// Driver must call this first, once, before doing any other
compiler operations.
//
Subsequent calls to this function are no-op
.
//
int
ShInitialize
()
{
return
InitProcess
()
?
1
:
0
;
static
const
bool
kInitialized
=
InitProcess
();
return
kInitialized
?
1
:
0
;
}
//
...
...
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