mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 23:35:11 +08:00
Mention libxi-dev as dependency
This commit is contained in:
parent
cc78fd04f3
commit
ad2188e4a1
@ -60,6 +60,11 @@ find_package(SFML 3 REQUIRED COMPONENTS Graphics Audio Network)
|
|||||||
target_link_libraries(my_app PRIVATE SFML::Graphics SFML::Audio SFML::Network)
|
target_link_libraries(my_app PRIVATE SFML::Graphics SFML::Audio SFML::Network)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Linux Dependencies
|
||||||
|
|
||||||
|
When using X11 as the backend on Linux, as opposed to DRM, `libxi-dev` is a newly required dependency.
|
||||||
|
This was introduces with the [raw mouse input support](https://www.sfml-dev.org/documentation/3.0.0/structsf_1_1Event_1_1MouseMovedRaw.html).
|
||||||
|
|
||||||
## `sf::Vector2<T>` Parameters
|
## `sf::Vector2<T>` Parameters
|
||||||
|
|
||||||
A common pattern in SFML 2 was to use pairs of scalar parameters to represent concepts like sizes or positions.
|
A common pattern in SFML 2 was to use pairs of scalar parameters to represent concepts like sizes or positions.
|
||||||
|
Loading…
Reference in New Issue
Block a user