diff options
Diffstat (limited to 'src/media')
-rw-r--r-- | src/media/UVideo.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index b8698359..5512ee7b 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -312,7 +312,8 @@ end; constructor TVideo_FFmpeg.Create; begin glGenTextures(1, PGLuint(@fFrameTex)); - 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')); + Reset(); end; |