diff options
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/opengl/gl_vertex_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_vertex_buffer.cc b/source/blender/gpu/opengl/gl_vertex_buffer.cc index 6942a220892..2515b7e8f19 100644 --- a/source/blender/gpu/opengl/gl_vertex_buffer.cc +++ b/source/blender/gpu/opengl/gl_vertex_buffer.cc @@ -144,7 +144,7 @@ void GLVertBuf::wrap_handle(uint64_t handle) BLI_assert(vbo_id_ == 0); BLI_assert(glIsBuffer(static_cast<uint>(handle))); is_wrapper_ = true; - vbo_id_ = static_cast<uint>(handle); + vbo_id_ = uint(handle); /* We assume the data is already on the device, so no need to allocate or send it. */ flag = GPU_VERTBUF_DATA_UPLOADED; } |