opengles3-book icon indicating copy to clipboard operation
opengles3-book copied to clipboard

Update Hello_Triangle.c

Open sharabiania opened this issue 6 years ago • 0 comments

Cast void * pointer to correct type.

Was getting compiler error.:

error: cannot initialize a variable of type 'UserData *' with an lvalue of type 'void *' UserData *userData = esContext->userData;

sharabiania avatar Sep 14 '18 18:09 sharabiania