mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
fix compile
This commit is contained in:
parent
ab85578dce
commit
88d99f9954
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ int CHyprpaper::createPoolFile(size_t size, std::string& name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHyprpaper::createBuffer(SPoolBuffer* pBuffer, int32_t w, int32_t h, uint32_t format) {
|
void CHyprpaper::createBuffer(SPoolBuffer* pBuffer, int32_t w, int32_t h, uint32_t format) {
|
||||||
const uint STRIDE = w * 4;
|
const size_t STRIDE = w * 4;
|
||||||
const size_t SIZE = STRIDE * h;
|
const size_t SIZE = STRIDE * h;
|
||||||
|
|
||||||
std::string name;
|
std::string name;
|
||||||
|
|
Loading…
Reference in a new issue