Click here to Skip to main content
15,891,136 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralMessage Closed Pin
23-Jun-21 15:00
Bram van Kampen23-Jun-21 15:00 
GeneralRe: Brexit Revisited Pin
Greg Utas23-Jun-21 15:10
professionalGreg Utas23-Jun-21 15:10 
GeneralRe: Brexit Revisited Pin
Sander Rossel23-Jun-21 18:53
professionalSander Rossel23-Jun-21 18:53 
GeneralRe: Brexit Revisited Pin
Bram van Kampen24-Jun-21 13:59
Bram van Kampen24-Jun-21 13:59 
GeneralRe: Brexit Revisited Pin
OriginalGriff23-Jun-21 19:27
mveOriginalGriff23-Jun-21 19:27 
GeneralI've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 13:18
mvahoney the codewitch23-Jun-21 13:18 
GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 13:30
Super Lloyd23-Jun-21 13:30 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 13:37
mvahoney the codewitch23-Jun-21 13:37 
That is one of the options - to fail on subsequent drawing operations.

The other - trickier but doable option is to allow both to continue working, but at the expense of more memory usage (since its holding both frame buffers), and the fact that your whole screen will change when you start to draw to the original target again.

I don't want this to be too difficult for people. That's one of the reason I kind of don't like the failing options. The problem with failing is that in this environment I cannot use exceptions. If people don't check return values, the fails are all silent.

But maybe in this case that's for the best. After writing this out to you I'm leaning toward that. Thumbs Up | :thumbsup:
Real programmers use butterflies

GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 14:52
Super Lloyd23-Jun-21 14:52 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 16:21
mvahoney the codewitch23-Jun-21 16:21 
GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 18:55
Super Lloyd23-Jun-21 18:55 
GeneralRe: I've been stuck for two days on nothing Pin
Kirk Wolak25-Jun-21 1:54
Kirk Wolak25-Jun-21 1:54 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch25-Jun-21 4:42
mvahoney the codewitch25-Jun-21 4:42 
GeneralRe: I've been stuck for two days on nothing Pin
PIEBALDconsult23-Jun-21 13:35
mvePIEBALDconsult23-Jun-21 13:35 
GeneralRe: I've been stuck for two days on nothing Pin
Gary R. Wheeler23-Jun-21 13:53
Gary R. Wheeler23-Jun-21 13:53 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 13:57
mvahoney the codewitch23-Jun-21 13:57 
GeneralRe: I've been stuck for two days on nothing Pin
Gary R. Wheeler23-Jun-21 14:09
Gary R. Wheeler23-Jun-21 14:09 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 14:23
mvahoney the codewitch23-Jun-21 14:23 
GeneralRe: I've been stuck for two days on nothing Pin
Marc Clifton23-Jun-21 15:54
mvaMarc Clifton23-Jun-21 15:54 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 16:22
mvahoney the codewitch23-Jun-21 16:22 
GeneralRe: I've been stuck for two days on nothing Pin
Greg Utas23-Jun-21 15:56
professionalGreg Utas23-Jun-21 15:56 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 16:15
mvahoney the codewitch23-Jun-21 16:15 
GeneralRe: I've been stuck for two days on nothing Pin
NeverJustHere23-Jun-21 18:08
NeverJustHere23-Jun-21 18:08 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 18:36
mvahoney the codewitch23-Jun-21 18:36 
GeneralRe: I've been stuck for two days on nothing Pin
NeverJustHere23-Jun-21 23:53
NeverJustHere23-Jun-21 23:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.