Re: [pygame] [patch] Bug in display's C-API
Committed Rev 2478.
[pygame] [patch] Bug in display's C-API
Hi, I found a bug in display's C-API code in pygame.h The code in question is: #define PyVidInfo_Type \ (*(PyTypeObject*)PyGAME_C_API[PYGAMEAPI_SURFACE_FIRSTSLOT + 0]) where it clearly should be PYGAMEAPI_DISPLAY_FIRSTSLOT. a trivial patch