Torque3D/Engine/source
Hein-Pieter van Braam 08622e9601 Use different extension detection mechanism
I got this from looking at the code from the glew utility 'glewinfo' on my system it reported the following for GL_ARB_geometry_shader4:  OK [MISSING]. This lead me to believe that there are two different ways of determining extensions. The first 'OK' seems to refer to the entrypoint existing while the second one seems to refer to the extension being available.

The difference is this:
The first OK comes from : GLEW_ARB_geometry_shader4 the global whereas the second 'MISSING' comes from glewGetExtension("GL_ARB_geometry_shader4"). By replacing the gglHasExtension I got the desired result.

We may want to implement some caching if we want to keep using GLEW perhaps?

Anyway I suggest this merely as a test, I'm not sure if this is a viable long-term solution.
2015-07-30 22:18:00 +02:00
..
app Removing stuff pertaining to demo modes and trials, as they're redundant now. 2015-07-01 23:36:56 -05:00
cinterface Remove value constructors for ConsoleValueRef & fix callbacks which use them. Fixes issue #1289 2015-05-08 09:04:04 +10:00
collision Issue found with PVS-Studio: 2015-07-16 22:02:18 -05:00
component Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
console Merge pull request #1371 from eightyeight/vs2015-warnings-1 2015-07-25 10:55:45 +10:00
core Issue found with PVS-Studio: 2015-07-21 23:22:21 -05:00
environment Merge pull request #1356 from Areloch/PVS_Cleanup_813 2015-07-20 22:55:22 +10:00
forest Merge pull request #1352 from Areloch/PVS_Cleanup_807 2015-07-16 15:45:32 +10:00
gfx Use different extension detection mechanism 2015-07-30 22:18:00 +02:00
gui From Dušan Jocić: early out of treeview entries to prevent crashes 2015-07-28 18:35:11 -05:00
i18n Issue found with PVS-Studio: 2015-07-21 23:22:21 -05:00
lighting Issue found with PVS-Studio: 2015-07-13 22:51:17 -05:00
main Pass by const reference 2015-02-20 18:42:32 -05:00
materials Issue found with PVS-Studio: 2015-07-13 23:08:17 -05:00
math Merge pull request #1354 from Areloch/PVS_Cleanup_mEase 2015-07-25 13:48:46 +10:00
navigation Issue found with PVS-Studio: 2015-07-21 23:22:21 -05:00
platform Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development 2015-07-17 16:55:12 +10:00
platformMac Merge pull request #1173 from JeffProgrammer/gestalt_fix_gg 2015-07-23 16:20:36 +10:00
platformPOSIX Fixes for dedicated build on linux. 2014-05-30 12:35:39 +02:00
platformSDL Fix running on Linux / Intel Mesa drivers 2015-07-30 22:18:00 +02:00
platformWin32 Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development 2015-07-17 16:55:12 +10:00
platformX86UNIX Fix missing va_end's 2015-02-20 18:42:29 -05:00
postFx Issue found with PVS-Studio: 2015-07-13 22:51:17 -05:00
renderInstance Fix for rendering particles to the glow buffer 2015-05-28 20:41:42 +10:00
scene Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development 2015-07-17 16:55:12 +10:00
sfx Issue found with PVS-Studio: 2015-07-21 23:22:21 -05:00
shaderGen Merge pull request #1214 from bpay/cppcheck-cleaning 2015-03-01 18:27:40 +11:00
sim Revert recent style cleanup changes. 2015-03-04 11:58:36 +11:00
T3D Merge pull request #1361 from Azaezel/BulletBreak1 2015-07-27 12:20:33 +10:00
terrain Merge pull request #1356 from Areloch/PVS_Cleanup_813 2015-07-20 22:55:22 +10:00
testing All unit tests that run now pass. 2014-09-29 11:38:44 +10:00
ts C4458 declaration hides class member. 2015-07-23 20:13:04 +10:00
util Issue found with PVS-Studio: 2015-07-16 22:02:18 -05:00
windowManager Merge pull request #1383 from Azaezel/MangledMouse 2015-07-30 09:24:38 -05:00
ggEndOfLineFix.txt Engine directory for ticket #1 2012-09-19 11:15:01 -04:00