From 5eba4984cf7f9f223c74a7679e81b9aec35e1e78 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 21 Mar 2016 21:51:24 +0100 Subject: [PATCH] (zr_common.c) Refactor --- menu/drivers/zr_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/zr_common.c b/menu/drivers/zr_common.c index 8a40bf0e49..76fcc2f9b1 100644 --- a/menu/drivers/zr_common.c +++ b/menu/drivers/zr_common.c @@ -295,10 +295,10 @@ void zr_common_device_draw(struct zr_device *dev, /* load draw vertices & elements directly into vertex + element buffer */ vertices = glMapBuffer(GL_ARRAY_BUFFER, GL_WRITE_ONLY); elements = glMapBuffer(GL_ELEMENT_ARRAY_BUFFER, GL_WRITE_ONLY); +#endif /* fill converting configuration */ memset(&config, 0, sizeof(config)); -#endif config.global_alpha = 1.0f; config.shape_AA = AA;