TINYGL: Cleanup code

This commit is contained in:
Paweł Kołodziejski 2021-12-04 14:27:35 +01:00
parent a9746518e4
commit 86dc65250e
No known key found for this signature in database
GPG key ID: 0BDADC9E74440FF7
3 changed files with 9 additions and 10 deletions

View file

@ -45,7 +45,8 @@ void initSharedState(GLContext *c) {
void endSharedState(GLContext *c) {
GLSharedState *s = &c->shared_state;
free_texture(c, 0);
uint h = 0;
free_texture(c, h);
for (int i = 0; i < MAX_DISPLAY_LISTS; i++) {
// TODO
}