ogl: fix vertex stream detection

sorry, copy & paste fail
This commit is contained in:
degasus 2013-08-29 12:01:34 +02:00
parent c5a886100c
commit c9afd83439
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
if(m_uploadtype & STREAM_DETECT) if(m_uploadtype & STREAM_DETECT)
{ {
// TODO: move this to InitBackendInfo // TODO: move this to InitBackendInfo
if(g_ActiveConfig.bHackedBufferUpload && !DriverDetails::HasBug(DriverDetails::BUG_BROKENHACKEDBUFFER)) if(g_ActiveConfig.bHackedBufferUpload && DriverDetails::HasBug(DriverDetails::BUG_BROKENHACKEDBUFFER))
{ {
OSD::AddMessage("Vertex Streaming Hack isn't supported by your GPU.", 10000); OSD::AddMessage("Vertex Streaming Hack isn't supported by your GPU.", 10000);
g_ActiveConfig.bHackedBufferUpload = false; g_ActiveConfig.bHackedBufferUpload = false;