mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Removed unused uniform.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "../common/common.sh"
|
||||
|
||||
uniform vec4 u_offset[16];
|
||||
uniform vec4 u_weight[16];
|
||||
uniform vec4 u_tonemap;
|
||||
|
||||
float reinhard(float _x)
|
||||
|
||||
@@ -462,7 +462,6 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
bgfx::UniformHandle u_mtx = bgfx::createUniform("u_mtx", bgfx::UniformType::Uniform4x4fv);
|
||||
bgfx::UniformHandle u_tonemap = bgfx::createUniform("u_tonemap", bgfx::UniformType::Uniform4fv);
|
||||
bgfx::UniformHandle u_offset = bgfx::createUniform("u_offset", bgfx::UniformType::Uniform4fv, 16);
|
||||
bgfx::UniformHandle u_weight = bgfx::createUniform("u_weight", bgfx::UniformType::Uniform4fv, 16);
|
||||
|
||||
bgfx::ProgramHandle skyProgram = loadProgram("vs_hdr_skybox", "fs_hdr_skybox");
|
||||
bgfx::ProgramHandle lumProgram = loadProgram("vs_hdr_lum", "fs_hdr_lum");
|
||||
@@ -772,7 +771,6 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
bgfx::destroyUniform(u_mtx);
|
||||
bgfx::destroyUniform(u_tonemap);
|
||||
bgfx::destroyUniform(u_offset);
|
||||
bgfx::destroyUniform(u_weight);
|
||||
|
||||
// Shutdown bgfx.
|
||||
bgfx::shutdown();
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user