Commit Graph
482 Commits
Author SHA1 Message Date
Giulio Camuffo b42bbe5259 TinyGL: Support for different color modes, part 2. 2012-01-24 21:36:47 +01:00
Giulio Camuffo 158a19df31 TinyGL: Support for different color modes, first part. 2012-01-24 21:36:46 +01:00
Einar Johan T. Sømåen 3394bd15ef TINYGL: Add tglColor4ub, to have less diff between tgl-code and gl-code 2012-01-10 09:10:16 +01:00
Einar Johan T. Sømåen 97a3fec971 TINYGL: Add conversion RGB/BGR -> RGBA
Thus allowing for such textures to be loaded without
needing external conversion before creating them.
2012-01-10 08:44:18 +01:00
Pawel Kolodziejski 626e91f23a rename -> ResidualVM 2012-01-06 23:15:48 +01:00
Paweł Kołodziejski 9d2203c8ea Merge pull request #457 from guillemj/master
Assorted segfault fixes
2012-01-06 05:41:46 -08:00
Pawel Kolodziejski 4fa79cd323 rename -> ResidualVM 2012-01-06 11:37:57 +01:00
Guillem Jover a50201481d TinyGL: Do not underflow on specular light calculation
When casting from float to int, the value can underflow making the index
negative which causes a segmentation fault when accessing the array.

Fixes #320
2012-01-05 20:39:53 +01:00
Giulio Camuffo f1f1b32490 TinyGL: Fix enabling of lights. Fix #393 2011-10-28 18:23:17 +02:00
Ori Avtalion c4870a2a20 TinyGL: Silence clang warnings about =- 2011-07-30 11:35:18 +03:00
Pawel Kolodziejski 7329a5d164 ALL: sync with scummvm 2011-06-09 11:17:15 +02:00
Vincent Pelletier 66aa114957 TINYGL: Don't mask shifted-out bits. 2011-05-22 09:44:05 +02:00
Pawel Kolodziejski 0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Pawel Kolodziejski 44e31ba08e formatting 2011-05-08 11:07:51 +02:00
Vincent Pelletier e3cd3286cd Add some missing gl_add_op.
Found by gcc 3.6 -Wunused-but-set-variable .
2011-05-05 05:08:34 +08:00
Pawel Kolodziejski 21fae5e42b GRIM: SYSTEM_*_ENDIAN -> SCUMM_*_ENDIAN 2011-05-01 21:05:45 +02:00
Pawel Kolodziejski a02ae4bc5d fix compilation 2011-05-01 18:12:07 +02:00
Joost Peters 31f3728164 TINYGL: Fix material and lighting color on 64-bit CPUs; the old code assumed sizeof(float)==sizeof(void*) 2011-04-29 00:59:37 +08:00
Joost Peters 11631bdb16 TINYGL: Use the safe READ_* macros for unaligned reads. This fixes a crash in the software renderer on certain platforms. 2011-04-28 20:33:24 +08:00
Pawel Kolodziejski 20c5f61288 tab ident 2011-04-26 12:42:38 +02:00
Pawel Kolodziejski 78c006c446 increase max lights for tinygl 2011-04-25 17:37:59 +02:00
Pawel Kolodziejski 252d484434 common/sys.h -> common/scummsys.h to minimalize diffs with scummvm 2011-04-17 01:00:10 +02:00
Giulio Camuffo 66bba94bcf Fixed some warnings. Patch by Torbjorn Andersson. 2011-04-05 21:45:20 +02:00
Matthew Hoops 1554e1ab2f ALL: Silence a ton of warnings 2011-03-25 07:42:03 +08:00
Pawel Kolodziejski 788713d3b4 fix warnings 2009-10-17 12:48:23 +00:00
Pawel Kolodziejski bc1cb4ce27 formating 2009-06-06 16:23:31 +00:00
Pawel Kolodziejski d3f6ae0476 synced common code with scummvm and adopt other parts to that changes 2009-05-27 13:28:49 +00:00
Pawel Kolodziejski 49b578ec6a put tinygl internals into namespace, left only api 2009-05-25 13:19:29 +00:00
Pawel Kolodziejski 7ad12a0856 update defines for include files 2009-05-25 12:28:16 +00:00
Pawel Kolodziejski 41b92f44c7 formating 2009-05-17 08:57:38 +00:00
Pawel Kolodziejski 110527019b make compilable after latest change 2009-05-08 07:32:33 +00:00
Pawel Kolodziejski f85c21fa4c moved tinygl 2009-05-08 07:17:43 +00:00