Changeset 1773 for trunk/tutorial


Ignore:
Timestamp:
Aug 18, 2012, 9:26:03 PM (8 years ago)
Author:
sam
Message:

gpu: create the ShaderTexture class, replace Shader::SetTexture with a
Shader::SetUniform override, and implement most of the FBO code for
the Direct3D backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/08_fbo.cpp

    r1771 r1773  
    103103        m_shader->Bind();
    104104        m_shader->SetUniform(m_uni_flag, 1.f);
    105         m_shader->SetTexture(m_uni_texture, m_fbo->GetTexture(), 0);
     105        m_shader->SetUniform(m_uni_texture, m_fbo->GetTexture(), 0);
    106106        m_vdecl->SetStream(m_vbo, m_coord);
    107107        m_vdecl->Bind();
Note: See TracChangeset for help on using the changeset viewer.