We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2013

Summary: Textures are not rendered after locking PC
Product: SDL Reporter: izaan.siddiqi
Component: renderAssignee: Sam Lantinga <slouken>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: davidche
Version: 2.0.0   
Hardware: x86_64   
OS: Windows 7   
Attachments: The code which generates the bug

Description izaan.siddiqi 2013-08-06 02:40:18 UTC
Created attachment 1273 [details]
The code which generates the bug

Hello,

I've writte a small application using SDL2 and textures are not rendered after I launch another application which loads the UAC popup or I lock my PC and then log in again (or if I just press Ctrl Alt Del). Resizing the window seems to "reset" the window and textures are rendered correctly again which makes me think that the issue isn't related to SDL_image. The applications I've tried launching are Fraps and MSI Afterburner.

I'm using a light gray background by using SDL_SetRenderDrawColor(renderer, 60, 60, 60, 255) which is still displayed even if the texture isn't rendered. I've included my code as an attachement in case it helps.

-- Izaan
Comment 1 DavidChe 2013-08-13 04:44:20 UTC
DirectX Device lost !!!