fixed code that used the newer gs_create_texture version

This commit is contained in:
jp9000
2013-10-04 09:01:39 -07:00
parent 75262e6e0b
commit ec86c3eaf7
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ struct random_tex *random_create(const char *settings, source_t source)
}
}
rt->texture = gs_create_texture(20, 20, GS_RGBA, pixels, 0);
rt->texture = gs_create_texture(20, 20, GS_RGBA, 1, &pixels, 0);
bfree(pixels);
if (!rt->texture) {