mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
This commit is contained in:
parent
83f2c2259c
commit
7af5561c48
|
@ -219,7 +219,7 @@ int main(int argc, char *argv[])
|
|||
exit(1);
|
||||
}
|
||||
|
||||
#if RENDERER_D3D
|
||||
#ifdef RENDERER_D3D
|
||||
if (d3d_pre_init() == FALSE)
|
||||
{
|
||||
message(0, "The video card doesn't meet the requirements, the program will not run further.");
|
||||
|
@ -268,7 +268,7 @@ int main(int argc, char *argv[])
|
|||
model3_init();
|
||||
model3_reset();
|
||||
|
||||
#if RENDERER_D3D
|
||||
#ifdef RENDERER_D3D
|
||||
if (!d3d_init(main_window))
|
||||
{
|
||||
message(0, "d3d_init failed.");
|
||||
|
@ -338,7 +338,7 @@ int main(int argc, char *argv[])
|
|||
time_start = time_end;
|
||||
}
|
||||
|
||||
#if RENDERER_D3D
|
||||
#ifdef RENDERER_D3D
|
||||
if (m3_config.show_fps)
|
||||
{
|
||||
//fps = 1.0 / ((double)(time_end - time_start) / freq);
|
||||
|
|
Loading…
Reference in a new issue