Remove start_viewscreen, fix sdl.mak. (nw)

This commit is contained in:
couriersud 2015-02-12 08:26:07 +01:00
parent eebdafacd4
commit a3b8fa8a79
5 changed files with 14 additions and 9 deletions

View File

@ -2729,6 +2729,7 @@ void sdl_info_ogl::texture_coord_update(texture_info *texture, const render_prim
ustop = (float)(m_width) / (float)surf_w_pow2;
vstop = (float)(m_height) / (float)surf_h_pow2;
}
else
{

View File

@ -82,7 +82,7 @@ SDL_FRAMEWORK_PATH = /Library/Frameworks/
# uncomment to use BGFX
USE_BGFX = 1
# USE_BGFX = 1
###########################################################################
################## END USER-CONFIGURABLE OPTIONS ######################

View File

@ -1072,7 +1072,6 @@ void sdl_window_info::set_starting_view(running_machine &machine, int index, con
// set the view
target()->set_view(viewindex);
m_start_viewscreen=viewindex;
}

View File

@ -32,13 +32,22 @@ typedef UINT32 HashT;
// TYPE DEFINITIONS
//============================================================
/* ------------------------------------------------------
*
* All types named osd_* will ultimately be located in
* the modules tree. They are temporarily maintained in
* window.h until basic code simplification is finished.
*
*/
class win_window_info;
class osd_window
{
public:
osd_window()
:
#ifdef OSD_SDL
m_start_viewscreen(0),
#else
m_hwnd(0), m_focus_hwnd(0), m_monitor(NULL), m_resize_state(0),
m_maxwidth(0), m_maxheight(0),
@ -64,15 +73,14 @@ public:
#else
virtual SDL_Surface *sdl_surface() = 0;
#endif
int m_start_viewscreen;
#else
virtual bool win_has_menu() = 0;
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
// window handle and info
HWND m_hwnd;
// FIXME: this is the same as win_window_list->m_hwnd, i.e. first window.
// During modularization, this should be passed in differently
HWND m_focus_hwnd;
// monitor info

View File

@ -74,9 +74,6 @@ public:
#else
virtual SDL_Surface *sdl_surface() = 0;
#endif
int m_start_viewscreen;
#else
virtual bool win_has_menu() = 0;
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;