diff --git a/src/common/gl/stream_buffer.cpp b/src/common/gl/stream_buffer.cpp index 09c2d81ea..6de7702fe 100644 --- a/src/common/gl/stream_buffer.cpp +++ b/src/common/gl/stream_buffer.cpp @@ -286,6 +286,8 @@ std::unique_ptr StreamBuffer::Create(GLenum target, u32 size) return buf; } + // BufferSubData is slower on all drivers except NVIDIA... +#if 0 const char* vendor = reinterpret_cast(glGetString(GL_VENDOR)); if (std::strcmp(vendor, "ARM") == 0 || std::strcmp(vendor, "Qualcomm") == 0) { @@ -294,6 +296,9 @@ std::unique_ptr StreamBuffer::Create(GLenum target, u32 size) } return detail::BufferSubDataStreamBuffer::Create(target, size); +#else + return detail::BufferDataStreamBuffer::Create(target, size); +#endif } } // namespace GL \ No newline at end of file