mirror of
https://github.com/holub/mame
synced 2025-06-30 07:58:56 +03:00
Remove start_viewscreen, fix sdl.mak. (nw)
This commit is contained in:
parent
eebdafacd4
commit
a3b8fa8a79
@ -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;
|
ustop = (float)(m_width) / (float)surf_w_pow2;
|
||||||
vstop = (float)(m_height) / (float)surf_h_pow2;
|
vstop = (float)(m_height) / (float)surf_h_pow2;
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -82,7 +82,7 @@ SDL_FRAMEWORK_PATH = /Library/Frameworks/
|
|||||||
|
|
||||||
# uncomment to use BGFX
|
# uncomment to use BGFX
|
||||||
|
|
||||||
USE_BGFX = 1
|
# USE_BGFX = 1
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
################## END USER-CONFIGURABLE OPTIONS ######################
|
################## END USER-CONFIGURABLE OPTIONS ######################
|
||||||
|
@ -1072,7 +1072,6 @@ void sdl_window_info::set_starting_view(running_machine &machine, int index, con
|
|||||||
|
|
||||||
// set the view
|
// set the view
|
||||||
target()->set_view(viewindex);
|
target()->set_view(viewindex);
|
||||||
m_start_viewscreen=viewindex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,13 +32,22 @@ typedef UINT32 HashT;
|
|||||||
// TYPE DEFINITIONS
|
// 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
|
class osd_window
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
osd_window()
|
osd_window()
|
||||||
:
|
:
|
||||||
#ifdef OSD_SDL
|
#ifdef OSD_SDL
|
||||||
m_start_viewscreen(0),
|
|
||||||
#else
|
#else
|
||||||
m_hwnd(0), m_focus_hwnd(0), m_monitor(NULL), m_resize_state(0),
|
m_hwnd(0), m_focus_hwnd(0), m_monitor(NULL), m_resize_state(0),
|
||||||
m_maxwidth(0), m_maxheight(0),
|
m_maxwidth(0), m_maxheight(0),
|
||||||
@ -64,15 +73,14 @@ public:
|
|||||||
#else
|
#else
|
||||||
virtual SDL_Surface *sdl_surface() = 0;
|
virtual SDL_Surface *sdl_surface() = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int m_start_viewscreen;
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
virtual bool win_has_menu() = 0;
|
virtual bool win_has_menu() = 0;
|
||||||
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
|
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
|
||||||
|
|
||||||
// window handle and info
|
// window handle and info
|
||||||
HWND m_hwnd;
|
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;
|
HWND m_focus_hwnd;
|
||||||
|
|
||||||
// monitor info
|
// monitor info
|
||||||
|
@ -74,9 +74,6 @@ public:
|
|||||||
#else
|
#else
|
||||||
virtual SDL_Surface *sdl_surface() = 0;
|
virtual SDL_Surface *sdl_surface() = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int m_start_viewscreen;
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
virtual bool win_has_menu() = 0;
|
virtual bool win_has_menu() = 0;
|
||||||
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
|
virtual win_monitor_info *winwindow_video_window_monitor(const RECT *proposed) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user