mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 22:21:12 +00:00
Using mouse poller on Alleg/Win port fixed window movement artifacts
Related to #1006
This commit is contained in:
parent
0df6117b6a
commit
ee8c434d2f
@ -9,7 +9,7 @@ set(SHE_SOURCES
|
|||||||
# Allegro 4 backend
|
# Allegro 4 backend
|
||||||
|
|
||||||
if(USE_ALLEG4_BACKEND)
|
if(USE_ALLEG4_BACKEND)
|
||||||
add_definitions(-DUSE_KEY_POLLER)
|
add_definitions(-DUSE_KEY_POLLER -DUSE_MOUSE_POLLER)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
find_package(DXGuid)
|
find_package(DXGuid)
|
||||||
if(NOT DXGUID_FOUND)
|
if(NOT DXGUID_FOUND)
|
||||||
@ -20,8 +20,6 @@ if(USE_ALLEG4_BACKEND)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
include_directories(SYSTEM ${DXGUID_INCLUDE_DIR})
|
include_directories(SYSTEM ${DXGUID_INCLUDE_DIR})
|
||||||
else()
|
|
||||||
add_definitions(-DUSE_MOUSE_POLLER)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND SHE_SOURCES
|
list(APPEND SHE_SOURCES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user