sezero
|
b99a7ea72a
|
support for GL_ARB_texture_non_power_of_two, patch from Eric Wasylishen.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@931 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2014-07-11 06:56:09 +00:00 |
|
sezero
|
3349866c81
|
gl_vidsdl.c: small gamma update.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@863 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-07-25 09:41:28 +00:00 |
|
sezero
|
5f205cb1f8
|
gl_vidsdl.c: use SDL_SetGamma() instead of SDL's GammaRamps api.
see: http://hg.libsdl.org/SDL/rev/3665bc284271
http://bugzilla.libsdl.org/show_bug.cgi?id=1979
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@861 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-07-24 07:00:44 +00:00 |
|
svdijk
|
cf7c75c918
|
gl_vidsdl.c: minor cleanup (lets not hijack the SDL_ prefix)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@840 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-03 15:01:14 +00:00 |
|
svdijk
|
e01f49c52c
|
gl_vidsdl.c: some video menu code readability tweaking
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@839 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-03 13:43:11 +00:00 |
|
svdijk
|
82c9ada692
|
gl_vidsdl.c: be bit more lenient (and safer) regarding bpp
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@836 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 18:10:19 +00:00 |
|
svdijk
|
4e456daefe
|
gl_vidsdl.c: fix a minor inconsistency in VID_Toggle
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@835 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 16:35:48 +00:00 |
|
svdijk
|
32aa20516d
|
gl_vidsdl.c: make the intel hack feedback a bit more informative
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@834 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 15:32:27 +00:00 |
|
svdijk
|
a6887965d8
|
gl_vidsdl.c: remove the PowerVR stuff, as it seems to be outdated
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@833 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 13:46:59 +00:00 |
|
svdijk
|
6c60cde973
|
oops
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@832 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 13:13:47 +00:00 |
|
svdijk
|
839106a2c5
|
Simplify the Intel video hack, make the PowerVR hack do the same
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@831 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 13:10:02 +00:00 |
|
svdijk
|
a275c2d76f
|
revert r612, fix VID_Test blackscreen properly
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@826 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-03-02 09:34:18 +00:00 |
|
sezero
|
3606e6d33f
|
putenv () may conform to different standards, therefore keep the vid_center[]
static char array in VID_Init ().
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@822 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-24 17:15:04 +00:00 |
|
svdijk
|
39fdcc00f2
|
gl_vidsdl.c: make bpp default to current bpp
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@821 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-24 16:28:28 +00:00 |
|
svdijk
|
1e8f64eac6
|
gl_vidsdl.c: fix an initialization oops
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@820 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-24 13:46:19 +00:00 |
|
svdijk
|
b4af76b94c
|
gl_vidsdl.c, vid.h: cleanup some modestate related stuff (requires a clean build)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@819 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-24 13:42:23 +00:00 |
|
svdijk
|
a1109b24fd
|
gl_vidsdl.c: remove modelist[0] special treatment, some cleanup
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@818 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-24 13:33:30 +00:00 |
|
svdijk
|
f2f5b05881
|
gl_vidsdl.c: make VID_Init independent from modelist
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@817 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-24 13:23:26 +00:00 |
|
svdijk
|
a4c884a109
|
gl_vidsdl.c: some cleanup
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@816 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-21 19:35:21 +00:00 |
|
svdijk
|
29d86e78ce
|
gl_vidsdl.c: fix ValidMode(), bpp < 16 is problematic on windows
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@815 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-21 19:17:18 +00:00 |
|
svdijk
|
f6d3705a0f
|
gl_vidsdl.c: make VID_Restart independent from modelist
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@812 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-19 19:20:17 +00:00 |
|
svdijk
|
35392155f2
|
gl_vidsdl.c: make VID_Test independent from modelist
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@811 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-19 19:00:19 +00:00 |
|
svdijk
|
1716036c34
|
gl_vidsdl.c: some cleanup
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@810 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-19 18:18:38 +00:00 |
|
svdijk
|
4c20690995
|
gl_vidsdl.c: make VID_SetMode independent from "modelist"
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@809 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-18 19:19:32 +00:00 |
|
svdijk
|
07cf9cc625
|
gl_vidsdl.c: don't depend on "modelist" for current mode info
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@808 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-17 18:12:00 +00:00 |
|
svdijk
|
6e47e9e42d
|
gl_vidsdl.c: get rid of "modenum"
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@807 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-17 17:58:05 +00:00 |
|
svdijk
|
5a7a0715de
|
rename the modestate_t enum items
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@805 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-13 19:07:19 +00:00 |
|
svdijk
|
eea756eb80
|
remove "type" from "viddef_t", use "modestate" instead
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@804 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-13 19:01:26 +00:00 |
|
svdijk
|
31b08a50e3
|
gl_vidsdl.c: remove "modenum" from vmode_t
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@803 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-11 18:13:09 +00:00 |
|
svdijk
|
7fe99ff949
|
gl_vidsdl.c: remove "modedesc" from vmode_t
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@802 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-11 18:03:14 +00:00 |
|
svdijk
|
102c1da6be
|
gl_vidsdl.c: get rid of obsolete "badmode"
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@801 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-10 17:30:40 +00:00 |
|
svdijk
|
58b3fd06a8
|
gl_vidsdl.c: Simplification of some functions
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@800 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-09 16:10:23 +00:00 |
|
svdijk
|
b557bbe95d
|
gl_vidsdl.c: Remove "halfscreen" stuff.
AFAICS this is not needed for SDL, and it in fact
breaks weird widescreen resolutions such as 1280x600.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@798 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2013-02-01 20:44:25 +00:00 |
|
svdijk
|
94c91375b0
|
Remove more dead code.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@790 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-28 19:10:52 +00:00 |
|
svdijk
|
aa02c14d82
|
gl_vidsdl.c: Remove some dead code.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@789 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-22 18:58:45 +00:00 |
|
svdijk
|
e35b5dde12
|
Really fix vsync saving/loading (finally...)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@787 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-11 17:35:43 +00:00 |
|
sezero
|
15b4c0e901
|
regenerate gl_extensions_nice everytime the extensions string is retrieved
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@785 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-07 12:44:30 +00:00 |
|
sezero
|
30cb1b6f12
|
move GL_Init(), TexMgr_ReloadImages() and GL_SetupState() calls from
VID_SetMode() to VID_Restart() so they aren't called twice at startup.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@784 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-07 12:27:39 +00:00 |
|
sezero
|
4b964ab7b1
|
better parse for opengl extensions list (from quakeforge.)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@783 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-07 07:51:41 +00:00 |
|
sezero
|
14e1bc8b31
|
made GL_Init() to be called every time a video mode is changed. we may
need to kill device and rendering contexts too, will see to that later.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@781 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-06 08:50:45 +00:00 |
|
svdijk
|
f499149f6e
|
Fix vsync saving/loading (take three...)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@780 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-02 22:16:08 +00:00 |
|
svdijk
|
98f636b3e2
|
Fix vsync saving/loading (take two...)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@779 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-02 20:04:26 +00:00 |
|
svdijk
|
348f0d559f
|
Fix vsync saving/loading (hopefully...)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@778 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-11-01 17:34:40 +00:00 |
|
svdijk
|
31453e6cfa
|
revert (most of) r521, r756 and r759. Alter "gamekey" handling a bit to compensate.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@761 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-10-06 18:09:23 +00:00 |
|
sezero
|
8684db400c
|
removed duplicated assignment to the local 'was_changed'
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@760 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-10-06 12:28:33 +00:00 |
|
svdijk
|
f2f1b2bdb6
|
more mouse grab/release fixes
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@759 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-10-05 18:58:59 +00:00 |
|
svdijk
|
f6d61576b0
|
minor tuning of r753
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@754 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-10-01 01:57:20 +00:00 |
|
sezero
|
45f98a8798
|
array size fix for r752
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@753 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-09-30 21:35:16 +00:00 |
|
svdijk
|
fa38f61c39
|
gl_vidsdl.c: minor improvement to bpp list creation
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@752 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-09-30 21:11:39 +00:00 |
|
sezero
|
88131d41ad
|
simplify VID_Gamma_f: the oldgamma stuff is already handled by the cvar
system itself.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@751 af15c1b1-3010-417e-b628-4374ebc0bcbd
|
2012-09-30 14:03:15 +00:00 |
|