blob: d266369e7a6b90017b2bb15282a355b5e2e1a54c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
//============================================================
//
// drawnone.cpp - stub "nothing" drawer
//
//============================================================
// standard windows headers
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
// MAME headers
#include "emu.h"
#include "drawnone.h"
//============================================================
// drawnone_window_get_primitives
//============================================================
render_primitive_list *renderer_none::get_primitives()
{
RECT client;
GetClientRect(window().m_hwnd, &client);
window().target()->set_bounds(rect_width(&client), rect_height(&client), window().pixel_aspect());
return &window().target()->get_primitives();
}
|