From 0b3a0b60fc4646732ca6f1728712d790292f750b Mon Sep 17 00:00:00 2001 From: basisbit Date: Tue, 20 Oct 2015 00:07:57 +0000 Subject: * Radeon X1600/X1650 graphics card report that they support NPOT, but they don't. Implemented a check for these graphics cards. (not yet tested if this fixes all of the problems of that card. * when there was no background set up in the song.txt, trying to switch from visualization to visualization based ProjectM to crash. Fixed this by switching directly to video if there is no background. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3150 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/menu/UDisplay.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/menu') diff --git a/src/menu/UDisplay.pas b/src/menu/UDisplay.pas index fe833e43..3b1c32f2 100644 --- a/src/menu/UDisplay.pas +++ b/src/menu/UDisplay.pas @@ -176,7 +176,7 @@ begin DoneOnShow := false; glGenTextures(2, PGLuint(@FadeTex)); - SupportsNPOT := AnsiContainsStr(glGetString(GL_EXTENSIONS),'texture_non_power_of_two'); + SupportsNPOT := (AnsiContainsStr(glGetString(GL_EXTENSIONS),'texture_non_power_of_two')) and not (AnsiContainsStr(glGetString(GL_EXTENSIONS), 'Radeon X16')); InitFadeTextures(); // set LastError for OSD to No Error -- cgit v1.2.3