Mercurial > sdl-ios-xcode
view README.Win32 @ 270:37fa1484f71b
From: "Mattias Engdeg�rd" <f91-men@nada.kth.se>
To: slouken@devolution.com
Subject: Re: [SDL] Question about SDL_FillRect()
I benchmarked with and without clipping UpdateRects and was unable to find
any difference on my moderately slow machine. Anyway, I haven't added
clipping in this patch, but fixed a couple of bugs and generally cleaned
up some of the X11 image code. Most importantly, UpdateRects now checks
for both zero height and width. Also, I eliminated the entire code to
byteswap X11 images since X11 can do that automatically if you ask it
nicely :-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 18 Jan 2002 22:02:03 +0000 |
parents | b23d3c5a32f3 |
children | 051b991765ba |
line wrap: on
line source
============================================================================== Using the Simple DirectMedia Layer with Windows 95,NT ============================================================================== These instructions are for people using the GNU free compilers. If you want to use Microsoft VC++ with SDL, read "VisualC.html" ============================================================================== I. Building the Simple DirectMedia Layer libraries: (This step isn't necessary if you have the SDL binary distribution) First, get gcc compiler for Win32, which can be found at: http://www.libsdl.org/Xmingw32/index.html Grab the cross configure and make scripts, and then run: sh cross-configure.sh sh cross-make.sh install If you have already built SDL natively, you must do "make distclean" before you build for Win32. If everything compiles successfully, you now have SDL.dll and gcc archive libraries libSDLmain.a and libSDL.a installed in /usr/local/cross-tools/ ============================================================================== II. Building the Simple DirectMedia Layer test programs: This is easy once you have built the libraries: cd test; sh ../cross-configure.sh; sh ../cross-make.sh ============================================================================== III. Building the Simple DirectMedia Layer demo programs: Go to the directory containing the demo you want to build and type: sh cross-configure.sh; sh cross-make.sh Be sure to rename the demo to use the .exe extension, or Windows will not be able to execute it. ============================================================================== IV. Enjoy! :) If you have a project you'd like me to know about, or want to ask questions, go ahead and join the SDL developer's mailing list by sending e-mail to: sdl-request@libsdl.org and put "subscribe" into the subject of the message. Or alternatively you can use the web interface: http://www.libsdl.org/mailman/listinfo/sdl ==============================================================================