DXGL r729 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r728
|
r729
|
r730
>
Date:
04:21, 24 July 2017
Author:
admin
Status:
new
Tags:
Comment:
Implement debug option to disable EXT_gpu_shader4 extension on OpenGL 2.x devices.
Modified paths:
/ddraw/glExtensions.c
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glExtensions.c
—
—
@@ -147,7 +147,8 @@
148
148
|| ((ext->glver_major >= 3) && (ext->glver_minor >= 3))) && !dxglcfg.DebugNoSamplerObjects)
149
149
ext->GLEXT_ARB_sampler_objects = 1;
150
150
else ext->GLEXT_ARB_sampler_objects = 0;
151
- if(strstr((char*)glextensions,"GL_EXT_gpu_shader4")) ext->GLEXT_EXT_gpu_shader4 = 1;
151
+ if(strstr((char*)glextensions,"GL_EXT_gpu_shader4") && !dxglcfg.DebugNoGpuShader4)
152
+ ext->GLEXT_EXT_gpu_shader4 = 1;
152
153
else ext->GLEXT_EXT_gpu_shader4 = 0;
153
154
if(strstr((char*)glextensions,"GL_GREMEDY_frame_terminator")) ext->GLEXT_GREMEDY_frame_terminator = 1;
154
155
else ext->GLEXT_GREMEDY_frame_terminator = 0;
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version