stop changing scripts so that they work only on linux , please

we shouldn't never specify a specific screen implementation in the
examples, otherwise they won't run on platforms where that
implementation is not available.

We should always try asking for the default implemenation for the
platform we are running on (by omitting the argument when requesting for
the screen pointer)
This commit is contained in:
xant
2010-04-23 12:22:45 +02:00
parent 99cbdaa6fb
commit 5d602d0ba0
+1 -1
View File
@@ -8,7 +8,7 @@
W = 400;
H = 300;
scr = new Screen("sdl");
scr = new Screen();
scr.init(W,H);
add_screen(scr);