Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Patches: Browse

[#29839] Mode switching for GHOST under SDL

Date:
2012-01-09 10:43
Priority:
3
State:
Closed
Submitted by:
Alex Fraser (z0r)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Game engine
Group:
None
Resolution(Old, use status):
Approved
Resolution:
Patch for:
 
Summary:
Mode switching for GHOST under SDL
Detailed description
This patch implements mode switching (resolution changing) for full-screen games. To use this code, compile blenderplayer with WITH_GHOST_SDL=ON, and then run a game that tries to set the resolution. See modeset_glsl.blend attached to [#29747] for an example game.

This patch contains code from Quake 2 (GPL v2+) and bzflag (LGPL v2+).

Followup

Message
  • Date: 2012-01-11 13:33
  • Sender: Alex Fraser
  • Committed, r43285.
 

Attached Files:

Name Date Download
sdl_modeset.patch 2012-01-09 10:43 Download

Changes:

Field Old Value Date By
status_idOpen2012-01-11 13:33z0r
close_dateNone2012-01-11 13:33z0r
ResolutionNone2012-01-11 13:33z0r
File Added18978: sdl_modeset.patch2012-01-09 10:43z0r