On Mon, Dec 7, 2015 at 2:12 PM, <
dellwyse...@gmail.com> wrote:
> Same here. See my last post on SDL2
> Hi Sam,
> Just inform you that we found the cause of the crash in the SDL API:
> SDL_CreateRenderer().
> We built teststeaming.c, PNACL toolchain with PEPPER_44 or 45 on naclports
> "pepper_44" github branch.
>
https://chromium.googlesource.com/external/naclports.git/+/pepper_44
>
> The SDL_CreateRendere() crashes due to the codes for NACL is not defined in
> SDL_render_gles2.c.
> Any reason why these codes have not been enabled for building SDL2 lib ?
I guess you mean why is __SDL_NOGETPROCADDR__ defined for the NaCl port?
I didn't write that code (or if I did it was long time ago now), but
it looks like some platforms get the GLES2 symbols dynamically, and
others rely on the linker to provide them statically. Under NaCl the
GLES2 symbols are available statically at link time. If they were not
present then you would link errors.
What is the crash you are seeing? Are some of the GLES2 functions
resolving to NULL, or are they crashing when you call them?
cheers,
sam
> --
> You received this message because you are subscribed to the Google Groups
> "Native-Client-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
native-client-di...@googlegroups.com.
> To post to this group, send email to
native-cli...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/native-client-discuss.
> For more options, visit
https://groups.google.com/d/optout.