forked from enlightenment/efl
Fix PS3 backend removal (Cedric...)
When running elementary_test with ELM_ENGINE='buffer', we got a crash. The removal of PS3 backend patch didn't remove ELM_SOFTWARE_PSL1GHT and didn't shift the _elm_engines indexes. ELM_SOFTWARE_DDRAW stayed at the index 13 (value NULL) instead of moving to index 12. A strcmp with NULL occurred, leading to the crash. @Cedric, I excuse you to not have run Exactness your code before pushing :P
This commit is contained in:
parent
b0d185ac12
commit
4337e77669
|
@ -154,11 +154,10 @@ extern const char *_elm_engines[];
|
|||
#define ELM_BUFFER (_elm_engines[6])
|
||||
#define ELM_EWS (_elm_engines[7])
|
||||
#define ELM_OPENGL_COCOA (_elm_engines[8])
|
||||
#define ELM_SOFTWARE_PSL1GHT (_elm_engines[9])
|
||||
#define ELM_WAYLAND_SHM (_elm_engines[10])
|
||||
#define ELM_WAYLAND_EGL (_elm_engines[11])
|
||||
#define ELM_DRM (_elm_engines[12])
|
||||
#define ELM_SOFTWARE_DDRAW (_elm_engines[13])
|
||||
#define ELM_WAYLAND_SHM (_elm_engines[9])
|
||||
#define ELM_WAYLAND_EGL (_elm_engines[10])
|
||||
#define ELM_DRM (_elm_engines[11])
|
||||
#define ELM_SOFTWARE_DDRAW (_elm_engines[12])
|
||||
|
||||
#define ELM_FONT_TOKEN_STYLE ":style="
|
||||
|
||||
|
|
Loading…
Reference in New Issue