Add DevIL 1.7.8.

This commit is contained in:
rude
2013-09-26 00:20:08 +02:00
parent 6e493fb605
commit c065120c58
487 changed files with 219483 additions and 0 deletions
@@ -0,0 +1,57 @@
//-----------------------------------------------------------------------------
//
// ImageLib Utility Toolkit Sources
// Copyright (C) 2000-2002 by Denton Woods
// Last modified: 05/28/2001 <--Y2K Compliant! =]
//
// Filename: src-ILUT/include/ilut_states.h
//
// Description: State machine
//
//-----------------------------------------------------------------------------
#ifndef STATES_H
#define STATES_H
#include "ilut_internal.h"
ILboolean ilutAble(ILenum Mode, ILboolean Flag);
#define ILUT_ATTRIB_STACK_MAX 32
ILuint ilutCurrentPos = 0; // Which position on the stack
//
// Various states
//
typedef struct ILUT_STATES
{
// ILUT states
ILboolean ilutUsePalettes;
ILboolean ilutOglConv;
ILboolean ilutForceIntegerFormat;
ILenum ilutDXTCFormat;
// GL states
ILboolean ilutUseS3TC;
ILboolean ilutGenS3TC;
ILboolean ilutAutodetectTextureTarget;
ILint MaxTexW;
ILint MaxTexH;
ILint MaxTexD;
// D3D states
ILuint D3DMipLevels;
ILenum D3DPool;
ILint D3DAlphaKeyColor; // 0x00rrggbb format , -1 for none
} ILUT_STATES;
ILUT_STATES ilutStates[ILUT_ATTRIB_STACK_MAX];
#endif//STATES_H