File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
include/inexor/vulkan-renderer/wrapper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ class MeshBuffer {
204
204
205
205
[[nodiscard]] auto get_index_buffer_address () const {
206
206
if (!m_index_buffer) {
207
- throw std::runtime_error (" Error: No index buffer for mesh " + m_name );
207
+ throw std::runtime_error (" Error: No index buffer for mesh available " );
208
208
}
209
209
210
210
return m_index_buffer.value ().allocation_info ().pMappedData ;
@@ -217,7 +217,7 @@ class MeshBuffer {
217
217
218
218
void update_indices (const std::vector<IndexType> &indices) {
219
219
if (!m_index_buffer) {
220
- throw std::runtime_error (" Error: No index buffer for mesh " + m_name );
220
+ throw std::runtime_error (" Error: No index buffer for mesh available " );
221
221
}
222
222
223
223
std::memcpy (m_index_buffer.value ().allocation_info ().pMappedData , indices.data (),
You can’t perform that action at this time.
0 commit comments