TINYGL: Janitorial

This commit is contained in:
Paweł Kołodziejski 2021-12-15 23:55:36 +01:00
parent c98fe1c61c
commit b673e0adf5
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
16 changed files with 138 additions and 131 deletions

View file

@ -68,7 +68,7 @@ int tglRenderMode(int mode) {
return result;
}
void tglSelectBuffer(int size, unsigned int *buf) {
void tglSelectBuffer(int size, uint *buf) {
GLContext *c = gl_get_context();
assert(c->render_mode != TGL_SELECT);
@ -108,8 +108,8 @@ void GLContext::glopLoadName(GLParam *p) {
}
}
void GLContext::gl_add_select(unsigned int zmin, unsigned int zmax) {
unsigned int *ptr;
void GLContext::gl_add_select(uint zmin, uint zmax) {
uint *ptr;
int n;
if (!select_overflow) {