added gradient shaders to triangle primative
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ int main(void) {
|
||||
timeAvg /= BATCH;
|
||||
printf("Elapsed: %ld ns\n", timeAvg);
|
||||
|
||||
triangle.draw(surface.buffer, blue);
|
||||
triangle.draw(surface.buffer, fuchsia);
|
||||
|
||||
point.draw(surface.buffer, green);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user