Ecere Software
/
sdk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ecere: Initial Emscripten support
[sdk]
/
samples
/
games
/
chess
/
src
/
chess3D.ec
diff --git
a/samples/games/chess/src/chess3D.ec
b/samples/games/chess/src/chess3D.ec
index
838531b
..
cbf89db
100644
(file)
--- a/
samples/games/chess/src/chess3D.ec
+++ b/
samples/games/chess/src/chess3D.ec
@@
-385,8
+385,7
@@
class Chess3D : Window
void OnRedraw(Surface surface)
{
- //surface.SetBackground(white);
- surface.Clear(colorAndDepth);
+ surface.Clear(depthBuffer);
camera.Update();
display.antiAlias = antiAlias;