mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-12 13:20:20 +02:00
OpenGL3: Sort out texture color format support
This commit is contained in:
@ -365,6 +365,15 @@ namespace video
|
||||
|
||||
core::matrix4 TextureFlipMatrix;
|
||||
|
||||
using FColorConverter = void(*)(const void *source, s32 count, void *dest);
|
||||
struct STextureFormatInfo {
|
||||
GLenum InternalFormat;
|
||||
GLenum PixelFormat;
|
||||
GLenum PixelType;
|
||||
FColorConverter Converter;
|
||||
};
|
||||
STextureFormatInfo TextureFormats[ECF_UNKNOWN] = {};
|
||||
|
||||
private:
|
||||
|
||||
COpenGL3Renderer2D* MaterialRenderer2DActive;
|
||||
|
Reference in New Issue
Block a user