Add R_SelectScene and R_GetScenePointer that encapsulate access to an array of r_refd...
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Jan 2008 02:18:54 +0000 (02:18 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Jan 2008 02:18:54 +0000 (02:18 +0000)
commita757d821b12d5ec84cf4d76a9572d9c90ca77324
tree57c781ac2387fc75ac058aaebf6ec7a86e1cd843
parent8c35a5ae89cb34e53d2e39a6cb56aef9cd997269
Add R_SelectScene and R_GetScenePointer that encapsulate access to an array of r_refdef_scene_t that is swapped into r_refdef on need.
Change the menu to use it and fix a bug that was caused because of the menu's use of the stack for backing up the client's scene.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8020 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
menu.c
mvm_cmds.c
render.h