mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix build error
./src/game/client/components/maplayers.h:15:9: error: 'uintptr_t' does not name a type; did you mean 'uint64_t'? 15 | typedef uintptr_t offset_ptr; | ^~~~~~~~~ | uint64_t ../src/game/client/components/maplayers.h:61:4: error: 'offset_ptr' does not name a type; did you mean 'offset_ptr32'? 61 | offset_ptr IndexBufferByteOffset() | ^~~~~~~~~~ | offset_ptr32 In file included from ../src/game/client/components/background.cpp:8: ../src/game/client/components/maplayers.h:105:4: error: 'offset_ptr' does not name a type; did you mean 'offset_ptr32'? 105 | offset_ptr m_IndexBufferByteOffset; | ^~~~~~~~~~ | offset_ptr32 ../src/game/client/components/maplayers.h: In constructor 'CMapLayers::SQuadLayerVisuals::SQuadVisual::SQuadVisual()': ../src/game/client/components/maplayers.h:103:20: error: class 'CMapLayers::SQuadLayerVisuals::SQuadVisual' does not have any field named 'm_IndexBufferByteOffset' 103 | SQuadVisual() : m_IndexBufferByteOffset(0) {} | ^~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
8d5762787e
commit
1799edc049
|
@ -5,6 +5,7 @@
|
|||
#include <game/client/component.h>
|
||||
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
#define INDEX_BUFFER_GROUP_WIDTH 12
|
||||
|
|
Loading…
Reference in a new issue