I have a weird problem with the GrabPixmap Command.
First of all: Everything with it works fine on my laptop - and I was sure it also worked on my main system a few weeks ago, but now the following problem occurs:
The following code
does only return a black rectangle. It works in window mode, not in fullscreen mode. It also works on my laptop (also in fullscreen mode).
If I grab the image two times everything works fine.
It seems to be a similar problem a user had some time ago with Ubuntu (check this thread: http://blitzmax.com/Community/posts.php?topic=68141).
First of all: Everything with it works fine on my laptop - and I was sure it also worked on my main system a few weeks ago, but now the following problem occurs:
The following code
PixmapCheck = GrabPixmap(4,66,449,394)
does only return a black rectangle. It works in window mode, not in fullscreen mode. It also works on my laptop (also in fullscreen mode).
If I grab the image two times everything works fine.
PixmapCheck = GrabPixmap(4,66,449,394) PixmapCheck = GrabPixmap(4,66,449,394)
It seems to be a similar problem a user had some time ago with Ubuntu (check this thread: http://blitzmax.com/Community/posts.php?topic=68141).