mirror of https://github.com/bjornbytes/lovr.git
Fix defaultMaterial;
This commit is contained in:
parent
f310a7ad04
commit
bf2f5a398c
|
@ -593,6 +593,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
|
|||
|
||||
state.defaultMaterial = lovrMaterialCreate(&(MaterialInfo) {
|
||||
.data.color = { 1.f, 1.f, 1.f, 1.f },
|
||||
.data.uvScale = { 1.f, 1.f },
|
||||
.texture = state.defaultTexture
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue