ShaderGen: More interface cleanups. Less wtfs :)

This commit is contained in:
NeoBrainX 2013-03-29 22:24:49 +01:00
parent e31c2aa601
commit 2afd892e46
8 changed files with 23 additions and 25 deletions

View file

@ -177,7 +177,7 @@ bool PointGeometryShader::SetShader(u32 components, float pointSize,
{
// Generate new shader. Warning: not thread-safe.
static char buffer[16384];
ShaderCode<u32> code;
ShaderCode code;
code.SetBuffer(buffer);
GenerateVSOutputStructForGS(code, components, API_D3D11);
code.Write("\n%s", POINT_GS_COMMON);