Modular rendering system. Patch by use.less01
This might break MSVC builds. I'll take care of it later
This commit is contained in:
1 parent
8ab958fab9
commit
40dfcee06e
24 files changed
+335
-186
No files matched your search
@@ -52,8 +52,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#define MAX_VIDEO_HANDLES 16
|
||||
|
||||
extern glconfig_t glConfig;
|
||||
|
||||
|
||||
static void RoQ_init( void );
|
||||
|
||||
@@ -991,7 +989,7 @@ static void readQuadInfo( byte *qData )
|
||||
cinTable[currentHandle].drawY = cinTable[currentHandle].CIN_HEIGHT;
|
||||
|
||||
// rage pro is very slow at 512 wide textures, voodoo can't do it at all
|
||||
if ( glConfig.hardwareType == GLHW_RAGEPRO || glConfig.maxTextureSize <= 256) {
|
||||
if ( cls.glconfig.hardwareType == GLHW_RAGEPRO || cls.glconfig.maxTextureSize <= 256) {
|
||||
if (cinTable[currentHandle].drawX>256) {
|
||||
cinTable[currentHandle].drawX = 256;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user