mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 20:39:18 +02:00
maintenance: removed deprecated files, linux friendly include names
This commit is contained in:
38
old/TextureDDS.h
Normal file
38
old/TextureDDS.h
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
2.0. If a copy of the MPL was not
|
||||
distributed with this file, You can
|
||||
obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#ifndef TEXTURE_DDS_H
|
||||
#define TEXTURE_DDS_H 1
|
||||
|
||||
#include "GL/glew.h"
|
||||
|
||||
#pragma hdrstop
|
||||
|
||||
struct Color8888
|
||||
{
|
||||
GLubyte r; // change the order of names to change the
|
||||
GLubyte g; // order of the output ARGB or BGRA, etc...
|
||||
GLubyte b; // Last one is MSB, 1st is LSB.
|
||||
GLubyte a;
|
||||
};
|
||||
|
||||
struct DDS_IMAGE_DATA
|
||||
{
|
||||
GLsizei width;
|
||||
GLsizei height;
|
||||
GLint components;
|
||||
GLenum format;
|
||||
GLuint blockSize;
|
||||
int numMipMaps;
|
||||
GLubyte *pixels;
|
||||
};
|
||||
|
||||
void DecompressDXT(DDS_IMAGE_DATA lImage, const GLubyte *lCompData, GLubyte *Data);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user