mirror of https://github.com/buggins/dlangui.git
fix new DMD import warnings
This commit is contained in:
parent
40b15f77c1
commit
ae1598b977
|
@ -471,6 +471,7 @@ class FreeTypeFont : Font {
|
|||
|
||||
private derelict.util.exception.ShouldThrow missingSymFunc( string symName ) {
|
||||
import std.algorithm : equal;
|
||||
static import derelict.util.exception;
|
||||
foreach(s; ["FT_New_Face", "FT_Attach_File", "FT_Set_Pixel_Sizes",
|
||||
"FT_Get_Char_Index", "FT_Load_Glyph", "FT_Done_Face",
|
||||
"FT_Init_FreeType", "FT_Done_FreeType"]) {
|
||||
|
|
|
@ -50,6 +50,7 @@ static if (ENABLE_OPENGL) {
|
|||
|
||||
private derelict.util.exception.ShouldThrow missingSymFunc( string symName ) {
|
||||
import std.algorithm : equal;
|
||||
static import derelict.util.exception;
|
||||
foreach(s; ["SDL_DestroyRenderer", "SDL_GL_DeleteContext", "SDL_DestroyWindow", "SDL_PushEvent",
|
||||
"SDL_GL_SetAttribute", "SDL_GL_CreateContext", "SDL_GetError",
|
||||
"SDL_CreateWindow", "SDL_CreateRenderer", "SDL_GetWindowSize",
|
||||
|
|
Loading…
Reference in New Issue