mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-24 08:38:47 +00:00
Updated gles_hwtexture.h
This commit is contained in:
parent
9e9c78549c
commit
0af3ec9c30
1 changed files with 2 additions and 3 deletions
|
@ -42,7 +42,6 @@ private:
|
|||
|
||||
unsigned int glTexID = 0;
|
||||
unsigned int glDepthID = 0; // only used by camera textures
|
||||
unsigned int glBufferID = 0;
|
||||
int glTextureBytes;
|
||||
bool mipmapped = false;
|
||||
|
||||
|
@ -65,8 +64,8 @@ public:
|
|||
unsigned int Bind(int texunit, bool needmipmap);
|
||||
bool BindOrCreate(FTexture* tex, int texunit, int clampmode, int translation, int flags);
|
||||
|
||||
void AllocateBuffer(int w, int h, int texelsize);
|
||||
uint8_t* MapBuffer();
|
||||
void AllocateBuffer(int w, int h, int texelsize) {} // Not used
|
||||
uint8_t* MapBuffer() { return 0; } // Not used
|
||||
|
||||
unsigned int CreateTexture(unsigned char* buffer, int w, int h, int texunit, bool mipmap, const char* name);
|
||||
unsigned int GetTextureHandle()
|
||||
|
|
Loading…
Reference in a new issue