warvair / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

patch for openbsd support + windowed mode issue #461

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I tried compiling on OpenBSD 5.0 but it failed. Attached is a patch to make it 
compile. I'm not sure if -I/usr/local/include/libpng belongs were I've put it, 
adding it to LOPT didn't work as expected somehow.

When running it I have a small issue though; the program starts but blanks the 
screen. Only when I change the focus to another application like xterm the 
grafx2 window and desktop shows as expected. As soon as the grafx2 window gets 
focus it blanks the screen again. The program does respond to events, I can 
draw, quit etc. This does not happen when I run it over ssh.

Installed software is all OpenBSD standard base/ports;
- X.Org X Server 1.9.5
- sdl-1.2.13p15
- sdl-image-1.2.10p0
I'm running and testing it on macppc.

Thanks for making such a great program, I've been looking for this ever since 
my Amiga died :)

Original issue reported on code.google.com by axel.sch...@xs4all.nl on 8 Nov 2011 at 6:39

Attachments:

GoogleCodeExporter commented 9 years ago
hmm.. all my sdl apps seem to have the focus problem. It must be related to my 
configuration or openbsd. Sorry to have bothered you with that.

Original comment by axel.sch...@xs4all.nl on 8 Nov 2011 at 7:53

GoogleCodeExporter commented 9 years ago
Applied in r1886. Thanks !

Original comment by pulkoma...@gmail.com on 1 Jan 2012 at 1:06

GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 1 Jan 2012 at 1:06