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
e0a384d7
Commit
e0a384d7
authored
Apr 29, 2011
by
apatrick@chromium.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation errors in translator.cpp.
Review URL:
http://codereview.appspot.com/4445073
git-svn-id:
https://angleproject.googlecode.com/svn/trunk@626
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
399c35f9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
translator.cpp
samples/translator/translator.cpp
+2
-2
version.h
src/common/version.h
+1
-1
No files found.
samples/translator/translator.cpp
View file @
e0a384d7
...
@@ -231,10 +231,10 @@ void PrintActiveVariables(ShHandle compiler, ShShaderInfo varType)
...
@@ -231,10 +231,10 @@ void PrintActiveVariables(ShHandle compiler, ShShaderInfo varType)
for
(
int
i
=
0
;
i
<
activeVars
;
++
i
)
{
for
(
int
i
=
0
;
i
<
activeVars
;
++
i
)
{
switch
(
varType
)
{
switch
(
varType
)
{
case
SH_ACTIVE_ATTRIBUTES
:
case
SH_ACTIVE_ATTRIBUTES
:
ShGetActiveAttrib
(
compiler
,
i
,
NULL
,
&
size
,
&
type
,
name
);
ShGetActiveAttrib
(
compiler
,
i
,
NULL
,
&
size
,
&
type
,
name
,
NULL
);
break
;
break
;
case
SH_ACTIVE_UNIFORMS
:
case
SH_ACTIVE_UNIFORMS
:
ShGetActiveUniform
(
compiler
,
i
,
NULL
,
&
size
,
&
type
,
name
);
ShGetActiveUniform
(
compiler
,
i
,
NULL
,
&
size
,
&
type
,
name
,
NULL
);
break
;
break
;
default:
assert
(
0
);
default:
assert
(
0
);
}
}
...
...
src/common/version.h
View file @
e0a384d7
#define MAJOR_VERSION 0
#define MAJOR_VERSION 0
#define MINOR_VERSION 0
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 62
5
#define BUILD_REVISION 62
6
#define STRINGIFY(x) #x
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
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