Skip to content

Instantly share code, notes, and snippets.

w-flo

Block or report user

Report or block w-flo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@w-flo
w-flo / dirty_widget_invalidate_fix.diff
Created Apr 11, 2019
Dirty fix for OpenRCT2 failed assertion #5893 https://github.com/OpenRCT2/OpenRCT2/issues/5893 Assertion failed: (w->widgets[i].type != WWT_LAST)
View dirty_widget_invalidate_fix.diff
diff --git a/src/openrct2/interface/Window.cpp b/src/openrct2/interface/Window.cpp
index b294806ba..148e94c36 100644
--- a/src/openrct2/interface/Window.cpp
+++ b/src/openrct2/interface/Window.cpp
@@ -1773,6 +1773,11 @@ void window_align_tabs(rct_window* w, rct_widgetindex start_tab_id, rct_widgetin
}
}
+int32_t window_get_current_tab(rct_window* w)
+{
@w-flo
w-flo / test-ssbo-std430.cpp
Last active Jan 4, 2018
Test program for structured access to shader storage buffers
View test-ssbo-std430.cpp
/*******
Compilation:
g++ test-ssbo-std430.cpp $(pkg-config --cflags --libs sdl2 glew) && MESA_DEBUG=true ./a.out
renderdoc 0.91 (e.g. git de7a74c7) can be configured to queue capture of frame 2 to inspect the results of this test program.
This is a simple test program to isolate one of the issues I encountered using my HD 7870 GPU and the Mesa radeonsi driver (amdgpu kernel module) while testing the Banshee 3D engine.
Mesa version is 17.2.4-0ubuntu1~17.10.1 (from Ubuntu artful-proposed archive).
@w-flo
w-flo / banshee3d.diff
Last active Dec 26, 2017
Banshee3d diff to fix build without editor on Ubuntu 17.10 (gcc 7.2), against 42e3c31d356b
View banshee3d.diff
diff --git a/Source/BansheeUtility/Allocators/BsFreeAlloc.h b/Source/BansheeUtility/Allocators/BsFreeAlloc.h
index d9ec441dc..237c5d1e8 100644
--- a/Source/BansheeUtility/Allocators/BsFreeAlloc.h
+++ b/Source/BansheeUtility/Allocators/BsFreeAlloc.h
@@ -2,8 +2,6 @@
//**************** Copyright (c) 2017 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#pragma once
-#include "Prerequisites/BsPrerequisitesUtil.h"
-
View 0001-Escape-artist-and-album-name-in-album-widget.patch
From 0018a24f75f0212683a8d1bf23db26bcab1460ea Mon Sep 17 00:00:00 2001
From: Florian Will <florian.will@gmail.com>
Date: Sun, 12 May 2013 16:16:51 +0200
Subject: [PATCH] Escape artist and album name in album widget.
---
src/widgets.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/widgets.js b/src/widgets.js
@w-flo
w-flo / sysinfo
Created Jan 10, 2013
My system info
View sysinfo
Prozessor:
Hersteller: AuthenticAMD
Geschwindigkeit: 3200 MHz
4 logische Prozessoren
4 technische Prozessoren
HyperThreading: Nicht unterstützt
FCMOV: Unterstützt
SSE2: Unterstützt
SSE3: Unterstützt
SSSE3: Unterstützt
You can’t perform that action at this time.