mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: Don't use NV extension on AMD
potentially the NV extension is wrongly used but can't test it with the free driver
This commit is contained in:
parent
d6e447a89c
commit
df4645a84a
|
@ -365,7 +365,7 @@ namespace GLLoader {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (status) {
|
if (status) {
|
||||||
if (fglrx_buggy_driver) {
|
if (fglrx_buggy_driver) {
|
||||||
fprintf(stderr, "OpenGL renderer is slow on AMD GPU due to inefficient driver. Sorry.");
|
fprintf(stderr, "OpenGL renderer is slow on AMD GPU due to inefficient driver. Sorry.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -490,7 +490,7 @@ bool GSDeviceOGL::Create(GSWnd* wnd)
|
||||||
// Get Available Memory
|
// Get Available Memory
|
||||||
// ****************************************************************
|
// ****************************************************************
|
||||||
GLint vram[4] = {0};
|
GLint vram[4] = {0};
|
||||||
if (GLLoader::found_GL_NVX_gpu_memory_info) {
|
if (GLLoader::found_GL_NVX_gpu_memory_info && !GLLoader::fglrx_buggy_driver) {
|
||||||
glGetIntegerv(GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX, vram);
|
glGetIntegerv(GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX, vram);
|
||||||
} else if (GLLoader::found_GL_ATI_meminfo) {
|
} else if (GLLoader::found_GL_ATI_meminfo) {
|
||||||
// Why openGL is always that complicated !
|
// Why openGL is always that complicated !
|
||||||
|
|
Loading…
Reference in New Issue