Ignore:
Timestamp:
Jan 25, 2013, 4:48:37 PM (8 years ago)
Author:
sam
Message:

build: hide LolFx external declarations behind macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gradient.cpp

    r2216 r2277  
    1818using namespace std;
    1919
    20 extern char const *lolfx_gradient;
     20LOLFX_RESOURCE_DECLARE(gradient);
    2121
    2222namespace lol
     
    7777    if (!data->shader)
    7878    {
    79         data->shader = Shader::Create(lolfx_gradient);
     79        data->shader = Shader::Create(LOLFX_RESOURCE_NAME(gradient));
    8080
    8181        data->m_vbo = new VertexBuffer(sizeof(vertex));
Note: See TracChangeset for help on using the changeset viewer.