Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_DISPLAYORDER Question
#8
(09-15-2023, 04:11 AM)SMcNeill Wrote: @TerryRitchie Remember, when _DISPLAY isn't used, _AUTODISPLAY is the default.

What you're seeing is AutoDisplay triggering _Display, pushing the hardware image onto the screen, and then flushing it from memory.  The next loop around, AutoDisplay triggers _Display, but there's no hardware image to sync and push with now.  That's where the very, very brief display you're seeing is coming from.

Hardware images won't render without a call to _DISPLAY, but it doesn't matter if you do that call or if AutoDisplay does for you.   Wink
Ahhh, gotcha, that makes complete sense. I'll make sure to explain this in the tutorial as another emphasis for using _DISPLAY as a best practice.
There are two ways to write error-free programs; only the third one works.
QB64 Tutorial
Reply


Messages In This Thread
_DISPLAYORDER Question - by TerryRitchie - 09-14-2023, 09:26 PM
RE: _DISPLAYORDER Question - by TerryRitchie - 09-14-2023, 10:58 PM
RE: _DISPLAYORDER Question - by SMcNeill - 09-14-2023, 11:26 PM
RE: _DISPLAYORDER Question - by GareBear - 09-15-2023, 12:43 AM
RE: _DISPLAYORDER Question - by TerryRitchie - 09-15-2023, 03:53 AM
RE: _DISPLAYORDER Question - by mnrvovrfc - 09-15-2023, 01:18 AM
RE: _DISPLAYORDER Question - by SMcNeill - 09-15-2023, 04:11 AM
RE: _DISPLAYORDER Question - by TerryRitchie - 09-15-2023, 04:17 AM



Users browsing this thread: 3 Guest(s)