Reset material in lovr.graphics.reset;

This commit is contained in:
bjorn 2017-10-22 04:11:39 -07:00
parent d5b3a2243e
commit e8e09c425e
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ void lovrGraphicsReset() {
lovrGraphicsSetDefaultFilter((TextureFilter) { .mode = FILTER_TRILINEAR });
lovrGraphicsSetDepthTest(COMPARE_LEQUAL);
lovrGraphicsSetFont(NULL);
lovrGraphicsSetMaterial(NULL);
lovrGraphicsSetLineWidth(1);
lovrGraphicsSetPointSize(1);
lovrGraphicsSetShader(NULL);