From 0c686e6f923ec370fd096bcc007ec3bc3797a055 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 29 Oct 2018 22:55:48 +0200 Subject: [PATCH] - more fixes for GCC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error: ‘size_t’ does not name a type error: ‘assert’ was not declared in this scope --- src/hwrenderer/data/buffers.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hwrenderer/data/buffers.h b/src/hwrenderer/data/buffers.h index d179d5447..9707a6eea 100644 --- a/src/hwrenderer/data/buffers.h +++ b/src/hwrenderer/data/buffers.h @@ -1,5 +1,8 @@ #pragma once +#include +#include + // 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; -}; \ No newline at end of file +};