1
0
Fork 0
dosbox-staging/include
Patryk Obara 8d5bc9537a Prevent a crash in Windows AMD drivers
Usually, when window is being created without SDL_WINDOW_OPENGL flag,
SDL2 internally re-creates it to support OpenGL during
SDL_CreateRenderer if needed.

This leads to crash in AMD OpenGL drivers (Windows only), which happens
for drivers: "opengl", "opengles", "opengles2".

When the window is created with correct flag from the get-go, the crash
does not happen.

On Linux, the code does not crash either way (at least not when using
Mesa and AMDGPU open source driver), so there's no point in propagating
the hack.

Also, remove a comment that is no longer relevant to the code below.
2020-03-27 00:54:11 +01:00
..
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
bios.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
bios_disk.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
callback.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
compiler.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
control.h Fix effc++ warnings in control.h 2020-03-27 00:54:11 +01:00
cpu.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
cross.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
debug.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
dma.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
dos_inc.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
dos_system.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
dosbox.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
drives.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
fpu.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
hardware.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
inout.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
ipx.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
ipxserver.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
joystick.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
keyboard.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
logging.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
Makefile.am Move drives.h to common include dir 2020-01-04 08:26:22 +01:00
mapper.h Only initialize the mapper once during startup 2020-03-21 23:41:06 +01:00
mem.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
midi.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
mixer.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
mouse.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
paging.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
pci_bus.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
pic.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
programs.h Inject newlines before displaying DOS prompt 2020-03-12 20:54:33 +01:00
regs.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
render.h Cleanup and document GFX_StartUpdate function 2020-03-27 00:54:11 +01:00
serialport.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
setup.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
shell.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
support.h Prevent a crash in Windows AMD drivers 2020-03-27 00:54:11 +01:00
timer.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
types.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
vga.h Update copyright dates to 2020 2020-03-07 00:18:01 +01:00
video.h Cleanup and document GFX_StartUpdate function 2020-03-27 00:54:11 +01:00