From 2c4c75ae014d3f4c8773ae709593d8e2a561cb28 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 1 Jan 2017 20:30:28 +0700 Subject: [PATCH] Correct InitTextureParams --- src/Graphics/Context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphics/Context.h b/src/Graphics/Context.h index 3850848f..b3666d01 100644 --- a/src/Graphics/Context.h +++ b/src/Graphics/Context.h @@ -34,7 +34,7 @@ namespace graphics { Parameter format; Parameter internalFormat; Parameter dataType; - const void * data; + const void * data = nullptr; }; void init2DTexture(const InitTextureParams & _params);