BASIC

Author Topic: GETSCREENSIZE change  (Read 1571 times)

Offline Dark Schneider

  • Mr. Polyvector
  • ***
  • Posts: 128
    • View Profile
GETSCREENSIZE change
« on: 2011-Aug-05 »
IMO it could be a good idea that GETSCREENSIZE returns the size of the current screen, not only the backbuffer.
So if we do an USESCREEN other than -1, then GETSCREENSIZE give us the size of that screen (render target).

This could be a good solution to use render targets more efficiently.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10709
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GETSCREENSIZE change
« Reply #1 on: 2011-Aug-17 »
you can use getspritesize. But yes, I'll think it's a good idea.