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

build: hide LolFx external declarations behind macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/02_cube.cpp

    r2241 r2277  
    1919using namespace lol;
    2020
    21 extern char const *lolfx_02_cube;
     21LOLFX_RESOURCE_DECLARE(02_cube);
    2222
    2323class Cube : public WorldEntity
     
    7575        if (!m_ready)
    7676        {
    77             m_shader = Shader::Create(lolfx_02_cube);
     77            m_shader = Shader::Create(LOLFX_RESOURCE_NAME(02_cube));
    7878
    7979            m_mvp = m_shader->GetUniformLocation("in_Matrix");
Note: See TracChangeset for help on using the changeset viewer.