Commit 5223af6b by alokp@chromium.org

Replaced __inline with inline to make it compile with SunStudio compiler. Submitted by Eagle.Lu.

BUG=19 Review URL: http://codereview.appspot.com/1910047 git-svn-id: https://angleproject.googlecode.com/svn/trunk@373 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent f8de41fb
...@@ -19,7 +19,7 @@ enum TPrecision ...@@ -19,7 +19,7 @@ enum TPrecision
EbpHigh, EbpHigh,
}; };
__inline const char* getPrecisionString(TPrecision p) inline const char* getPrecisionString(TPrecision p)
{ {
switch(p) switch(p)
{ {
...@@ -47,7 +47,7 @@ enum TBasicType ...@@ -47,7 +47,7 @@ enum TBasicType
EbtAddress, // should be deprecated?? EbtAddress, // should be deprecated??
}; };
__inline bool IsSampler(TBasicType type) inline bool IsSampler(TBasicType type)
{ {
return type > EbtGuardSamplerBegin && type < EbtGuardSamplerEnd; return type > EbtGuardSamplerBegin && type < EbtGuardSamplerEnd;
} }
...@@ -100,7 +100,7 @@ enum TQualifier ...@@ -100,7 +100,7 @@ enum TQualifier
// //
// This is just for debug print out, carried along with the definitions above. // This is just for debug print out, carried along with the definitions above.
// //
__inline const char* getQualifierString(TQualifier q) inline const char* getQualifierString(TQualifier q)
{ {
switch(q) switch(q)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment