blob: 0bbe267d77e4b82c97fa98d1f75ffc7067686e04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Author: Max Lingua <sunmax@libero.it>
*/
#ifndef _S3V_TEX_H
#define _S3V_TEX_H
#define TEX_DEBUG_ON 0
#if TEX_DEBUG_ON
#define DEBUG_TEX(str) printf str
#else
#define DEBUG_TEX(str) /* str */
#endif
#define _TEXFLUSH 1 /* flush before uploading */
#define _TEXLOCK 1 /* lock before writing new texures to card mem */
/* if you turn it on you will gain stability and image
quality, but you will loose performance (~10%) */
#define _TEXFALLBACK 0 /* fallback to software for -big- textures (slow) */
/* turning this off, you will lose some tex (e.g. mountains
on tuxracer) but you will increase average playability */
#define _TEXALIGN 0x00000007
#endif
|