//***********************************************************//
// Demo:    Lens Flare Editor
// Author:  terror
// Spec:    demo for gamedev.ru
//***********************************************************//
#pragma once

#define  WIN32_LEAN_AND_MEAN 
#include  <windows.h>
#include  <GL/gl.h>
#include  <stdlib.h>

typedef unsigned int uint;

struct ImageJPG_t
{
	int RowSpan;
	int Width;
	int Height;
	unsigned char *data;
};

struct ImageTGA_t
{
	int Channels;
	int Width;
	int Height;
	unsigned char *data;
};


bool UploadImage ( char *filename, uint &TexID );
void DeleteTexture  ( uint &TexID );
void DeleteTextures ( int num, uint *TexID );
