| Previous | 199869 Revisions | Next |
| r45445 Thursday 3rd March, 2016 at 16:27:09 UTC by Brad Hughes |
|---|
| Add module probe support for directwrite so we can fall back cleanly. |
| [src/osd/modules/font] | font_dwrite.cpp |
| r253956 | r253957 | |
|---|---|---|
| 661 | 661 | { |
| 662 | 662 | } |
| 663 | 663 | |
| 664 | virtual bool probe() override | |
| 665 | { | |
| 666 | // This module is available if it can load the expected API Functions | |
| 667 | if (m_pfnD2D1CreateFactory.initialize() != 0 | |
| 668 | || m_pfnDWriteCreateFactory.initialize() != 0) | |
| 669 | { | |
| 670 | return false; | |
| 671 | } | |
| 672 | ||
| 673 | return true; | |
| 674 | } | |
| 675 | ||
| 664 | 676 | virtual int init(const osd_options &options) override |
| 665 | 677 | { |
| 666 | 678 | HRESULT result; |
| https://github.com/mamedev/mame/commit/4fadaa781d4a11f0a5a55efc6e30aa70cf7c705f |
| Previous | 199869 Revisions | Next |