Ignore:
Timestamp:
Sep 21, 2012, 4:01:17 PM (8 years ago)
Author:
sam
Message:

lolfx: names such as "x" or "bgra" are field selectors, but we must also
accept them as variable names.

File:
1 edited

Legend:

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

    r1927 r1937  
    1717#define __GPU_LOLFX_H__
    1818
     19#include "gpu/shader.h"
     20
    1921namespace lol
    2022{
     
    2830
    2931    bool Compile(char const *command);
     32
     33private:
     34    /* Simple GL / DX render states */
     35    bool m_blend;
     36    bool m_alphatest;
     37    bool m_cullface;
     38    bool m_depthtest;
     39    bool m_depthmask;
     40
     41    /* Our shaders -- FIXME: should be split if possible */
     42    Shader *m_shader;
    3043};
    3144
Note: See TracChangeset for help on using the changeset viewer.