mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 14:42:06 +00:00
Fix for 3dfx target using lsh's macros
This commit is contained in:
parent
8349f3e59f
commit
afe3589124
1 changed files with 10 additions and 10 deletions
|
@ -22,13 +22,13 @@ along with this program; if not, write to the Free Software
|
|||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "qtypes.h"
|
||||
#include "quakedef.h"
|
||||
#include "glquake.h"
|
||||
#include "sys.h"
|
||||
#include "console.h"
|
||||
#include "cvar.h"
|
||||
#include "sound.h"
|
||||
#include <qtypes.h>
|
||||
#include <quakedef.h>
|
||||
#include <glquake.h>
|
||||
#include <sys.h>
|
||||
#include <console.h>
|
||||
#include <cvar.h>
|
||||
#include <sound.h>
|
||||
#include <lib_replace.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -201,9 +201,9 @@ void VID_SetPalette (unsigned char *palette)
|
|||
snprintf(s, sizeof(s), "%s/glquake", com_gamedir);
|
||||
Sys_mkdir (s);
|
||||
snprintf(s, sizeof(s), "%s/glquake/15to8.pal", com_gamedir);
|
||||
if ((f = fopen(s, "wb")) != NULL) {
|
||||
fwrite(d_15to8table, 1<<15, 1, f);
|
||||
fclose(f);
|
||||
if ((f = gzopen(s, "wb")) != NULL) {
|
||||
gzwrite(d_15to8table, 1<<15, 1);
|
||||
gzclose(f);
|
||||
}
|
||||
//#endif // QUAKEWORLD
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue