summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-17 10:08:10 -0500
committerSubv <subv2112@gmail.com>2018-04-17 10:16:50 -0500
commit7fc516cc1ad81b02308b5b23fd18562e651c770e (patch)
tree5b3986b8db0c481f6e73e4b2ace16f1645d8d770 /src/common/file_util.cpp
parent44e09ba8076a31dca0da4a84104c8e4d12827cb0 (diff)
MaxwellToGL: Added a TODO and partial implementation of maxwell wrap mode 4 (Clamp, GL_CLAMP).
This clamp mode was removed from OpenGL as of 3.1, we can emulate it by using GL_CLAMP_TO_BORDER to get the border color of the texture, and then manually sampling the edge to mix them in the fragment shader.
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions