mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
clang warnings fix
This commit is contained in:
parent
4a22e8d57b
commit
f25677d6d2
20 changed files with 37 additions and 45 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef SRC_GRAPHICS_BATCH2D_H_
|
||||
#define SRC_GRAPHICS_BATCH2D_H_
|
||||
|
||||
#include <memory>
|
||||
#include <stdlib.h>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
|
|
@ -13,8 +14,7 @@ class Sprite;
|
|||
class Batch2D {
|
||||
float* buffer;
|
||||
size_t capacity;
|
||||
size_t offset;
|
||||
Mesh* mesh;
|
||||
std::unique_ptr<Mesh> mesh;
|
||||
size_t index;
|
||||
|
||||
Texture* blank;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue