Re: [Offscreengecko-discuss] Is there any test code about using OffscreenGecko?
Status: Pre-Alpha
Brought to you by:
res2002
|
From: Frank R. <fra...@gm...> - 2008-09-23 01:19:36
|
On 22.09.2008 10:17, jxj wrote: > Hi > I am a newbie to OffscreenGecko, and do not know how to use OffscreenGecko! > Is thers any test codes showing how to use it? Creating samples is definitely something I neglected when creating OSGK. However, there is some code using it, in (of all places) a Quake1 engine derivate going by the name 'darkplaces'. Here's the relevant code: http://svn.icculus.org/twilight/trunk/darkplaces/cl_gecko.c?revision=8364&view=markup [This code has some extra goop as it loads the osgk lib dynamically; however, the API is the same after all. Also, this is pure C code; if you use C++ you can have a slightly more convenient interface. See the OSGK documentation for the differences between the C/C++ IFs.] -f.r. |