Glenn Smith
a94587af43
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Glenn Smith
1728fe39ad
Use strncat instead of strcat to prevent some buffer overflows
2018-03-06 00:48:44 -05:00
Areloch
0801a3cca8
Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy
2017-06-23 11:36:20 -05:00
rextimmy
08c0195cba
OpenGL multiple canvas support
2016-12-14 22:01:18 +10:00
Jeff Hutchinson
0296e6d3fd
Fix merge conflict and add check for unix and not apple for glx
...
Merge branch 'development-gg' into gladdev
# Conflicts:
# Tools/CMake/libraries/glad.cmake
2016-11-02 21:55:24 -04:00
RexTimmy
dd64004eaf
MacOS platform support.
2016-09-28 11:09:48 +10:00
Jeff Hutchinson
cfb3ad598f
SDL support for glad
2016-09-11 21:59:48 -04:00
Hein-Pieter van Braam
5d91cf90b3
Fix running on Linux / Intel Mesa drivers
...
* Explicitly request a GL 3.2 context
* Enable 'experimental' extensions on glew (This appears necessary to get glew to work with explictly set GL versions)
2015-07-30 22:18:00 +02:00
LuisAntonRebollo
aa35157eef
PlatformSDL implementation.
2015-01-19 01:17:37 +01:00
LuisAntonRebollo
dd08fd2e7d
Add OpenGL support.
2014-11-08 20:21:50 +01:00