- 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:
alexey.lysiuk 2018-10-29 22:55:48 +02:00
parent b56e80a556
commit 0c686e6f92

View file

@ -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;
};
};