gl_rasterizer: only apply AMD hack when the vendor is AMD

This commit is contained in:
wwylele
2018-07-31 13:51:42 +03:00
parent 05eb0ccb03
commit 266f2b6242
6 changed files with 34 additions and 18 deletions

View File

@@ -9,7 +9,8 @@
class OGLStreamBuffer : private NonCopyable {
public:
explicit OGLStreamBuffer(GLenum target, GLsizeiptr size, bool prefer_coherent = false);
explicit OGLStreamBuffer(GLenum target, GLsizeiptr size, bool array_buffer_for_amd,
bool prefer_coherent = false);
~OGLStreamBuffer();
GLuint GetHandle() const;