diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-09-09 07:27:14 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-09-09 14:22:41 +0800 |
commit | b9ab04cd6e253848bad865fc1b5ea993a2a060f3 (patch) | |
tree | bdbab3489daf2ac7b1595355d9708497df4f1e02 /indra/llrender/llvertexbuffer.h | |
parent | 4568096b3078d2d8980646f5b0b2f93762eb1caa (diff) | |
parent | ccf0114f36968d6cf6dfb11e1c5a035406314924 (diff) |
Merge remote-tracking branch 'mobserveur/experimental2'
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r-- | indra/llrender/llvertexbuffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h index 375ad76fb8..bf5f2b5ab6 100644 --- a/indra/llrender/llvertexbuffer.h +++ b/indra/llrender/llvertexbuffer.h @@ -109,7 +109,7 @@ public: return *this; } - static void initClass(LLWindow* window); + static void initClass(LLWindow* window, U32 mode_ = 0); static void cleanupClass(); static void setupClientArrays(U32 data_mask); static void drawArrays(U32 mode, const std::vector<LLVector3>& pos); @@ -128,6 +128,8 @@ public: // flush any pending mapped buffers static void flushBuffers(); + static U32 getVertexBufferMode(); + //WARNING -- when updating these enums you MUST // 1 - update LLVertexBuffer::sTypeSize // 2 - update LLVertexBuffer::vb_type_name |