2f0c785ba7
reorganize code; add paranoid checking for core support of extensions in case the driver forgot to advertise some; remove deadwood (oglPrintErrors - oglCheck does the same); prefix the feature/limit variables with ogl_; add oglHaveExtensions call
...
This was SVN commit r2396.
2005-06-16 22:21:12 +00:00
d24fd1b0c9
Use gl*ARB wherever possible. They are mapped onto the core gl* function if the driver's version is high enough, else onto the extension's gl*ARB function.
...
(Just for fun, compressed texture uploads are mapped onto a
decompression function if the user's system doesn't understand S3TC
textures.)
Corrected (unless I'm wrong) GL version identification logic.
This was SVN commit r2384.
2005-06-14 03:33:16 +00:00
19b3d2d388
rename oglExtAvail to oglHaveExtension
...
main.cpp: also provide for different screenshot file formats by passing
in extension
ogl.cpp: also add oglHaveVersion
This was SVN commit r1984.
2005-03-10 16:57:42 +00:00
85fd8a0f0e
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
also KB -> KiB, MB -> MiB
This was SVN commit r1775.
2005-01-23 17:54:20 +00:00
0afc3c159d
trivialities: add extern, add assert to make sure oglInit called
...
This was SVN commit r1260.
2004-10-19 17:49:12 +00:00
4e517d52f7
oglCheck() function, which blows up when you add invalid OpenGL code
...
This was SVN commit r923.
2004-08-06 14:58:58 +00:00
464dfd7ee5
Allow access to GL extension list
...
This was SVN commit r777.
2004-07-19 19:04:17 +00:00
d022ac51f8
_WIN32 ifdefs around wglext.h include
...
This was SVN commit r440.
2004-06-09 13:46:39 +00:00
c7a84e84be
added precompiled.h everywhere
...
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
6c608edd60
linefix stomped everything :P
...
This was SVN commit r266.
2004-05-25 23:16:21 +00:00
5b5726ed4d
merge of (work in progress) VFS code with new dir layout
...
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
530eecfe16
linux-compat
...
This was SVN commit r91.
2003-11-25 02:26:06 +00:00
5cc814759f
Initial revision
...
This was SVN commit r9.
2003-11-03 16:22:45 +00:00