Bypass compositor
This commit is contained in:
parent
02519607cf
commit
09f675a93c
@ -13,7 +13,7 @@ env "app" do |env|
|
|||||||
result + glob("#{dir}/**/*.{d,c}")
|
result + glob("#{dir}/**/*.{d,c}")
|
||||||
end
|
end
|
||||||
env["D_IMPORT_PATH"] += dirs
|
env["D_IMPORT_PATH"] += dirs
|
||||||
env["DFLAGS"] += %w[--d-version=BindBC_Static]
|
env["DFLAGS"] += %w[--d-version=BindBC_Static --d-version=SDL_208]
|
||||||
env["LDFLAGS"] += %w[-L-lfreetype -L-lSDL2]
|
env["LDFLAGS"] += %w[-L-lfreetype -L-lSDL2]
|
||||||
env.Program("^/app", sources)
|
env.Program("^/app", sources)
|
||||||
end
|
end
|
||||||
|
@ -31,6 +31,8 @@ int main()
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
|
||||||
|
|
||||||
SDL_Window * window = SDL_CreateWindow("d-bindbc-sdl-glad",
|
SDL_Window * window = SDL_CreateWindow("d-bindbc-sdl-glad",
|
||||||
SDL_WINDOWPOS_UNDEFINED,
|
SDL_WINDOWPOS_UNDEFINED,
|
||||||
SDL_WINDOWPOS_UNDEFINED,
|
SDL_WINDOWPOS_UNDEFINED,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user