Stuff I've fixed so far.

This commit is contained in:
2023-01-19 20:24:43 -08:00
parent e60002b8dc
commit 97fd59f28d
12 changed files with 72 additions and 43 deletions

View File

@ -11,9 +11,9 @@ namespace Dawn {
class Material;
struct ShaderPass {
ShaderProgram *shaderProgram;
int32_t orderShader;
bool_t needsW;
ShaderProgram *shaderProgram = nullptr;
int32_t orderShader = 0;
bool_t needsW = false;
// Parameters
std::map<shaderparameter_t, struct Color> colorValues;
@ -29,7 +29,7 @@ namespace Dawn {
class Shader {
public:
int_fast16_t renderId;
int_fast16_t renderId = 0;
/**
* Compile all programs for this shader. This amy not remain forever as I