Génération de Chunks en multithreads
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define VERTEXBUFFER_H__
|
||||
|
||||
#include "define.h"
|
||||
#include <mutex>
|
||||
|
||||
class VertexBuffer
|
||||
{
|
||||
@@ -33,6 +34,7 @@ class VertexBuffer
|
||||
|
||||
|
||||
private:
|
||||
static std::mutex m_opgl;
|
||||
bool m_isValid;
|
||||
int m_vertexCount;
|
||||
GLuint m_vertexVboId;
|
||||
|
Reference in New Issue
Block a user