README.DC
author Sam Lantinga <slouken@libsdl.org>
Tue, 25 Jan 2005 16:57:11 +0000
changeset 1032 c1c2efca4548
parent 509 dad72daf44b3
child 1460 d79e6b0c2c19
permissions -rw-r--r--
Date: Mon, 24 Jan 2005 21:37:56 +0800
From: Chris Taylor
Subject: Patch to put back dynamic OpenGL loading for MPW

I sent a patch a while ago that removes dynamic OpenGL loading for
Macintosh Programmer's Workshop. Dynamic loading DOES actually work
when an SDL program is built with MPW, it just has to be set up for it.
(Whoops!!) This is the ideal way to get OpenGL extensions to work,
which D2X uses quite a few of.

This patch puts dynamic loading back in SDL for Mac OS 9. It applies to
current CVS. I noticed that two members need to be set when
DrawSprocket is used.
     1 SDL for Dreamcast (beta2)
     2 
     3 	BERO
     4 	bero@geocities.co.jp
     5 
     6 	http://www.geocities.co.jp/Playtown/2004/
     7 
     8 this work with kos-newlib
     9 http://sourceforge.net/projects/dcquake/
    10 
    11 compile
    12 - edit KOS_BASE in Makefie.dc for your enviroment
    13 - make -f Makefile.dc
    14 
    15 FIXME: The KOS thread files can be found on HERO's site - not in the SDL source.
    16 - overwrite thread/*.c to kos-1.1.7/kernel/thread
    17 - rebuild kos
    18 
    19 compile with gl support
    20 - install latest libgl from http://sourceforge.net/projects/dcquake/
    21 - uncomment GL=1 in Makefile.dc
    22 - make -f Makefile.dc clean
    23 - make -f Makefile.dc
    24 
    25 install
    26 - copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment
    27 
    28 changelog:
    29 
    30 beta2
    31 - OpenGL support
    32 - Hardware page flip support
    33 
    34 beta
    35 - thread, timer don't tested so much.
    36 - not support OpenGL
    37