From 041b4dea4bf8413835ee8a7d0520ab5016c69799 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 23 Dec 2002 23:54:34 +0000 Subject: mingw32 compiling... whoaaa ;-) --- Makefile.sol.mingw | 2 +- src/test.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.sol.mingw b/Makefile.sol.mingw index 2aafe72..50e5f4a 100644 --- a/Makefile.sol.mingw +++ b/Makefile.sol.mingw @@ -1,4 +1,4 @@ -SUBDIRS = lib +SUBDIRS = lib src all: for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir -f Makefile.sol.mingw all ; done diff --git a/src/test.cc b/src/test.cc index 32861ca..cf8ef8f 100644 --- a/src/test.cc +++ b/src/test.cc @@ -23,7 +23,8 @@ virtual int startup() throw (GeneralException) { for (int y = 0; y < 256; y++) { for (int x = 0; x < 256; x++) { - int r = random() % 256; + //int r = random() % 256; + int r = 255; texture[(x + y * 256) * 4 + 0] = r; texture[(x + y * 256) * 4 + 1] = r; texture[(x + y * 256) * 4 + 2] = r; -- cgit v1.2.3