diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 110: Fix validation of SceneShading.

Message ID 20110719133231.3251.66690.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org July 19, 2011, 1:32 p.m. UTC
------------------------------------------------------------
revno: 110
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Tue 2011-07-19 15:00:29 +0300
message:
  Fix validation of SceneShading.
modified:
  src/scene-shading.cpp


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'src/scene-shading.cpp'
--- src/scene-shading.cpp	2011-07-12 17:53:10 +0000
+++ src/scene-shading.cpp	2011-07-19 12:00:29 +0000
@@ -190,8 +190,10 @@ 
 
     if (filter == "gouraud")
         ref = Canvas::Pixel(0x00, 0x00, 0x2d, 0xff);
+    else if (filter == "blinn-phong-inf")
+        ref = Canvas::Pixel(0x1a, 0x1a, 0x3e, 0xff);
     else if (filter == "phong")
-        ref = Canvas::Pixel(0x1a, 0x1a, 0x3e, 0xff);
+        ref = Canvas::Pixel(0x1a, 0x1a, 0x53, 0xff);
     else
         return Scene::ValidationUnknown;