Ignore:
Timestamp:
Apr 14, 2012, 11:33:08 PM (10 years ago)
Author:
sam
Message:

gpu: port the vertex buffer abstraction layer to OpenGL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/shader.h

    r1227 r1228  
    2727
    2828public:
    29     ShaderUniform() : flags(0) {}
     29    inline ShaderUniform() : flags(0) {}
    3030
    3131private:
     
    4141
    4242public:
    43     ShaderAttrib(int flags = 0xffffffff) : m_flags(flags) {}
     43    inline ShaderAttrib() : m_flags((uint64_t)0 - 1) {}
    4444
    4545private:
    46     uint32_t m_flags;
     46    uint64_t m_flags;
    4747};
    4848
Note: See TracChangeset for help on using the changeset viewer.