Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9942 in orxonox.OLD for trunk/src/lib/graphics/shader.cc


Ignore:
Timestamp:
Nov 22, 2006, 2:58:51 PM (17 years ago)
Author:
bensch
Message:

HACK: Checking shader ability
@orxonoxers: make this faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/shader.cc

    r9869 r9942  
    3535void Shader::Uniform::setV(unsigned int count, float* vv) const
    3636{
     37        if (Shader::isSupported())
    3738  switch (count)
    3839  {
     
    5354void Shader::Uniform::setV(unsigned int count, int* vv) const
    5455{
     56        if (Shader::isSupported())
    5557  switch (count)
    5658  {
Note: See TracChangeset for help on using the changeset viewer.