]> git.tdb.fi Git - libs/gl.git/commit
Use texture() instead of texture2D() in non-legacy mode
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 16:27:26 +0000 (19:27 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 17:05:53 +0000 (20:05 +0300)
commit2e9d7c9f5741d17f77ce27273590ee16b791fb64
tree7327c55f868cf5ba5ed964266690caedc37e364f
parente1672476c5a258ff67fe1fcb47dd9a40b89169cb
Use texture() instead of texture2D() in non-legacy mode

Because the name of the diffuse texture uniform was changed to avoid
conflicting with the function, some changes in applications may be
necessary.
demos/desertpillars.cpp
source/programbuilder.cpp
source/programbuilder.h