KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
gl-mipmap.c File Reference
#include <kos.h>
#include <KGL/gl.h>
#include <KGL/glu.h>
#include <KGL/glut.h>

Macros

#define INP_RESIZE_UP   1
 
#define INP_RESIZE_DOWN   2
 
#define INP_USE_MIP_MAP   3
 
#define INP_NO_MIP_MAP   4
 
#define INP_EXIT   5
 

Functions

GLuint glTextureLoadPVR (char *fname, unsigned char isMipMapped, unsigned char glMipMap)
 
int InputCallback (void)
 
void RenderInit (void)
 
void RenderTexturedQuadCentered (GLuint texID, GLfloat width, GLfloat height)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ INP_EXIT

#define INP_EXIT   5

Referenced by InputCallback(), and main().

◆ INP_NO_MIP_MAP

#define INP_NO_MIP_MAP   4

Referenced by InputCallback(), and main().

◆ INP_RESIZE_DOWN

#define INP_RESIZE_DOWN   2

Referenced by InputCallback(), and main().

◆ INP_RESIZE_UP

#define INP_RESIZE_UP   1

Referenced by InputCallback(), and main().

◆ INP_USE_MIP_MAP

#define INP_USE_MIP_MAP   3

Referenced by InputCallback(), and main().

Function Documentation

◆ glTextureLoadPVR()

GLuint glTextureLoadPVR ( char * fname,
unsigned char isMipMapped,
unsigned char glMipMap )
extern

Referenced by main().

◆ InputCallback()

◆ main()

◆ RenderInit()

void RenderInit ( void )

Referenced by main().

◆ RenderTexturedQuadCentered()

void RenderTexturedQuadCentered ( GLuint texID,
GLfloat width,
GLfloat height )

References vid_mode_t::height, vid_mode, and vid_mode_t::width.

Referenced by main().