mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 12:00:26 +01:00
include readtex.h
This commit is contained in:
parent
92eddb0fd4
commit
2d84ed83c4
5 changed files with 6 additions and 4 deletions
|
|
@ -8,9 +8,10 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <GL/glut.h>
|
||||
|
||||
#include "readtex.c"
|
||||
#include "readtex.h"
|
||||
|
||||
#define IMAGE_FILE "../images/girl.rgb"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <math.h>
|
||||
#include <GL/glut.h>
|
||||
|
||||
#include "readtex.c" /* the compulsory hack */
|
||||
#include "readtex.h"
|
||||
|
||||
#define TEXTURE_FILE "../images/bw.rgb"
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include <string.h>
|
||||
#include <GL/glut.h>
|
||||
|
||||
#include "readtex.c" /* I know, this is a hack. */
|
||||
#include "readtex.h"
|
||||
|
||||
#define TEXTURE_1_FILE "../images/girl.rgb"
|
||||
#define TEXTURE_2_FILE "../images/reflect.rgb"
|
||||
|
|
@ -36,7 +36,6 @@ static GLfloat drift_increment = 0.005;
|
|||
static GLfloat Xrot = 20.0, Yrot = 30.0, Zrot = 0.0;
|
||||
|
||||
|
||||
|
||||
static void Idle( void )
|
||||
{
|
||||
if (Animate) {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <GL/glut.h>
|
||||
|
||||
#include "readtex.h"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue