mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- more fixes for GCC
error: ‘size_t’ does not name a type error: ‘assert’ was not declared in this scope
This commit is contained in:
parent
b56e80a556
commit
0c686e6f92
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
|
||||
// The low level code needs to know which attributes exist.
|
||||
// OpenGL needs to change the state of all of them per buffer binding.
|
||||
// VAOs are mostly useless for this because they lump buffer and binding state together which the model code does not want.
|
||||
|
@ -75,4 +78,4 @@ public:
|
|||
virtual void BindRange(size_t start, size_t length) = 0;
|
||||
virtual void BindBase() = 0;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue