[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] pygame.display.set_mode() and OpenGL
- To: "pygame-users@xxxxxxxx" <pygame-users@xxxxxxxx>
- Subject: [pygame] pygame.display.set_mode() and OpenGL
- From: Ian Mallett <geometrian@xxxxxxxxx>
- Date: Thu, 29 Jan 2009 12:53:31 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 29 Jan 2009 15:53:33 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=r+ubnpR0B/G1FeoJJMdWxn6dFwED965+om3nfDLFlSM=; b=reAcCTx07LujM1z+V0sWwAccDRYdrDT8TtfDNQpxa7awmhbAKnvLaCa3HE0Fr5Zedf OYU6D6rs09B64ehWJMQQcMMQgZ1D5vBao5ke2eVD9KuOV0+eLSgnf/NMuujdfztzvaVi DgI8hOMgoVWCzg4wdyJk2BSnwy32OcJ61WWl8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BOVuE+fCfRZaMOCDWy514zlAuc6IucVP0j9g+TZjwZ43ytDdNAyrj1WHKda0cPW3rZ z3FwX87s2XTHicZkojwciSD2nLTcWALCiP4E37tHNmlTCeHJH0QhQVAs2Aqnlei3LTvo +/nJTq5y0iNUaZz51Tw6JdUpfofTYKLwdMzaQ=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I'm working on my OpenGL game, and am trying to make the screen resizeable. The game runs just fine, but then, when I try to resize it, the screen goes dark at the new pygame.display.set_mode() call. I made sure the proper flags are being set as well. I tried quiting and reiniting the screen with the same effect. Ideas?
Ian