Fixed crash if initialization of EGL failed but was tried again later.
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().
BIN
test/shapes/p01_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p01_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p01_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p02_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p02_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p02_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p03_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p03_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p04_shape1.bmp
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
test/shapes/p04_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p04_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p04_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p05_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p06_shape1alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p06_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p06_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p06_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p07_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p07_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p07_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p08_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p08_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p08_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p09_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p09_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p09_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p10_shape1.bmp
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
test/shapes/p10_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p10_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p10_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p11_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p11_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p11_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p12_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p12_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p13_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p13_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p13_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p14_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p14_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p15_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p15_shape32alpha.bmp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
test/shapes/p15_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/p16_shape1.bmp
Normal file
|
After Width: | Height: | Size: 50 KiB |
BIN
test/shapes/p16_shape24.bmp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
test/shapes/p16_shape8.bmp
Normal file
|
After Width: | Height: | Size: 401 KiB |
BIN
test/shapes/trollface_24.bmp
Normal file
|
After Width: | Height: | Size: 192 KiB |
BIN
test/shapes/trollface_32alpha.bmp
Normal file
|
After Width: | Height: | Size: 256 KiB |