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