mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
TINYGL: Consistently consider Texture::handle as unsigned.
Texture handles are unsigned integers everywhere else.
This commit is contained in:
parent
83f4434bff
commit
95cc5127e0
@ -34,7 +34,7 @@
|
||||
|
||||
namespace TinyGL {
|
||||
|
||||
static GLTexture *find_texture(GLContext *c, int h) {
|
||||
static GLTexture *find_texture(GLContext *c, unsigned int h) {
|
||||
GLTexture *t;
|
||||
|
||||
t = c->shared_state.texture_hash_table[h % TEXTURE_HASH_TABLE_SIZE];
|
||||
@ -279,7 +279,7 @@ void glopPixelStore(GLContext *, GLParam *p) {
|
||||
|
||||
void tglGenTextures(int n, unsigned int *textures) {
|
||||
TinyGL::GLContext *c = TinyGL::gl_get_context();
|
||||
int max;
|
||||
unsigned int max;
|
||||
TinyGL::GLTexture *t;
|
||||
|
||||
max = 0;
|
||||
|
@ -181,7 +181,7 @@ struct GLImage {
|
||||
|
||||
struct GLTexture {
|
||||
GLImage images[MAX_TEXTURE_LEVELS];
|
||||
int handle;
|
||||
unsigned int handle;
|
||||
int versionNumber;
|
||||
struct GLTexture *next, *prev;
|
||||
bool disposed;
|
||||
|
Loading…
Reference in New Issue
Block a user