Fix bad assert for image uniforms;

This commit is contained in:
bjorn 2018-09-02 21:15:43 -07:00
parent 3cc1b60fd8
commit 2e881cbda0
1 changed files with 0 additions and 1 deletions

View File

@ -525,7 +525,6 @@ static void lovrGpuBindTexture(Texture* texture, int slot) {
#ifndef EMSCRIPTEN
static void lovrGpuBindImage(Image* image, int slot) {
lovrThrow("Shaders can not write to textures on this system");
lovrAssert(slot >= 0 && slot < MAX_IMAGES, "Invalid image slot %d", slot);
// This is a risky way to compare the two structs