mirror of
https://git.allpurposem.at/mat/WiggleWobble.git
synced 2025-12-23 21:11:29 +01:00
chore: clean up notification & warnings
This commit is contained in:
parent
1b7edd84f3
commit
8d126b2145
@ -187,13 +187,6 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) {
|
|||||||
|
|
||||||
HyprlandAPI::reloadConfig();
|
HyprlandAPI::reloadConfig();
|
||||||
|
|
||||||
HyprlandAPI::addNotification(
|
|
||||||
PHANDLE,
|
|
||||||
"[WiggleWobble] Successfully loaded!",
|
|
||||||
CHyprColor {0.f, 1.f, 1.f, 1.f},
|
|
||||||
5000
|
|
||||||
);
|
|
||||||
|
|
||||||
return {"wigglewobble", "Wobbly windows for Hyprland", "All-Purpose Mat", PLUGIN_VERSION};
|
return {"wigglewobble", "Wobbly windows for Hyprland", "All-Purpose Mat", PLUGIN_VERSION};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -32,8 +32,8 @@ void CRenderWobblyWindowPassElement::initGPUObjects() {
|
|||||||
std::vector<GLuint> indices;
|
std::vector<GLuint> indices;
|
||||||
indices.reserve(3 * 2 * s_SUBDIVS * s_SUBDIVS);
|
indices.reserve(3 * 2 * s_SUBDIVS * s_SUBDIVS);
|
||||||
|
|
||||||
for (int y = 0; y < s_SUBDIVS; ++y) {
|
for (unsigned int y = 0; y < s_SUBDIVS; ++y) {
|
||||||
for (int x = 0; x < s_SUBDIVS; ++x) {
|
for (unsigned int x = 0; x < s_SUBDIVS; ++x) {
|
||||||
indices.push_back(y * vertsPerRow + x + 1); // top right
|
indices.push_back(y * vertsPerRow + x + 1); // top right
|
||||||
indices.push_back(y * vertsPerRow + x); // top left
|
indices.push_back(y * vertsPerRow + x); // top left
|
||||||
indices.push_back((y + 1) * vertsPerRow + x + 1); // bottom right
|
indices.push_back((y + 1) * vertsPerRow + x + 1); // bottom right
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user