trunk/src/osd/modules/render/d3d/d3dhlsl.cpp
| r252922 | r252923 | |
| 1437 | 1437 | float screen_scale[2] = { xscale, yscale }; |
| 1438 | 1438 | float screen_offset[2] = { xoffset, yoffset }; |
| 1439 | 1439 | |
| 1440 | | rgb_t back_color_rgb = machine->first_screen()->palette() == NULL |
| 1440 | rgb_t back_color_rgb = !machine->first_screen()->has_palette() |
| 1441 | 1441 | ? rgb_t(0, 0, 0) |
| 1442 | | : machine->first_screen()->palette()->palette()->entry_color(0); |
| 1442 | : machine->first_screen()->palette().palette()->entry_color(0); |
| 1443 | 1443 | back_color_rgb = apply_color_convolution(back_color_rgb); |
| 1444 | 1444 | float back_color[3] = { |
| 1445 | 1445 | static_cast<float>(back_color_rgb.r()) / 255.0f, |