[client] use correct argument order for calloc

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-16 16:25:59 +10:00
1 parent 4d907cecab
commit 104141eec1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ TexFB;
static bool egl_texFBInit(EGL_Texture ** texture, EGLDisplay * display)
{
TexFB * this = calloc(sizeof(*this), 1);
TexFB * this = calloc(1, sizeof(*this));
*texture = &this->base.base;
EGL_Texture * parent = &this->base.base;