gfx-effect-source: Remove/replace old defines

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-08-07 18:11:46 +02:00
parent aff4b221ba
commit c88535c7ab
2 changed files with 3 additions and 4 deletions

View file

@ -25,9 +25,8 @@
#include "obs/gs/gs-helper.hpp"
#include "strings.hpp"
#define ST "Shader"
#define ST_FILE ST ".File"
#define ST_TECHNIQUE ST ".Technique"
#define ST_FILE S_SHADER_FILE
#define ST_TECHNIQUE S_SHADER_TECHNIQUE
static std::vector<std::string> static_parameters{
"ViewProj",

View file

@ -44,7 +44,7 @@ extern "C" {
}
#define S_SHADER_FILE "Shader.File"
#define S_SHADER_TECHNIQUE ST "Shader.Technique"
#define S_SHADER_TECHNIQUE "Shader.Technique"
namespace gfx {
namespace effect_source {