Click here to Skip to main content
15,178,462 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.

 
GeneralRe: I hate automated tech support ... Pin
OriginalGriff25-Jun-21 3:51
mveOriginalGriff25-Jun-21 3:51 
GeneralRe: Brexit Revisited Pin
Greg Utas23-Jun-21 16:10
mveGreg Utas23-Jun-21 16:10 
GeneralRe: Brexit Revisited Pin
Sander Rossel23-Jun-21 19:53
professionalSander Rossel23-Jun-21 19:53 
GeneralRe: Brexit Revisited Pin
Bram van Kampen24-Jun-21 14:59
MemberBram van Kampen24-Jun-21 14:59 
GeneralRe: Brexit Revisited Pin
OriginalGriff23-Jun-21 20:27
mveOriginalGriff23-Jun-21 20:27 
GeneralI've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 14:18
mvahoney the codewitch23-Jun-21 14:18 
GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 14:30
MemberSuper Lloyd23-Jun-21 14:30 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 14:37
mvahoney the codewitch23-Jun-21 14: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 15:52
MemberSuper Lloyd23-Jun-21 15:52 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 17:21
mvahoney the codewitch23-Jun-21 17:21 
GeneralRe: I've been stuck for two days on nothing Pin
Super Lloyd23-Jun-21 19:55
MemberSuper Lloyd23-Jun-21 19:55 
GeneralRe: I've been stuck for two days on nothing Pin
Kirk Wolak25-Jun-21 2:54
MemberKirk Wolak25-Jun-21 2:54 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch25-Jun-21 5:42
mvahoney the codewitch25-Jun-21 5:42 
GeneralRe: I've been stuck for two days on nothing Pin
PIEBALDconsult23-Jun-21 14:35
professionalPIEBALDconsult23-Jun-21 14:35 
GeneralRe: I've been stuck for two days on nothing Pin
Gary R. Wheeler23-Jun-21 14:53
MemberGary R. Wheeler23-Jun-21 14:53 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 14:57
mvahoney the codewitch23-Jun-21 14:57 
GeneralRe: I've been stuck for two days on nothing Pin
Gary R. Wheeler23-Jun-21 15:09
MemberGary R. Wheeler23-Jun-21 15:09 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 15:23
mvahoney the codewitch23-Jun-21 15:23 
GeneralRe: I've been stuck for two days on nothing Pin
Marc Clifton23-Jun-21 16:54
mvaMarc Clifton23-Jun-21 16:54 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 17:22
mvahoney the codewitch23-Jun-21 17:22 
GeneralRe: I've been stuck for two days on nothing Pin
Greg Utas23-Jun-21 16:56
mveGreg Utas23-Jun-21 16:56 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 17:15
mvahoney the codewitch23-Jun-21 17:15 
GeneralRe: I've been stuck for two days on nothing Pin
NeverJustHere23-Jun-21 19:08
MemberNeverJustHere23-Jun-21 19:08 
GeneralRe: I've been stuck for two days on nothing Pin
honey the codewitch23-Jun-21 19:36
mvahoney the codewitch23-Jun-21 19:36 
GeneralRe: I've been stuck for two days on nothing Pin
NeverJustHere24-Jun-21 0:53
MemberNeverJustHere24-Jun-21 0: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.