Skip to content

Instantly share code, notes, and snippets.

#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/poll.h>
#include <linux/input.h>
#include <linux/uinput.h>
#include <set>
#include <vector>
#include <msp/core/application.h>
#include <msp/core/getopt.h>
SteamVR System Report created su joulu 03 23:38:56 2017
<Report>
SteamVR Version: 1512101170
SteamVR Date: 2017-12-01
Steam: Public
Steam Branch: beta
Steam AppID: 250820
Tracking: lighthouse
OS: Linux version 4.13.1-core2 (root@capybara) (gcc version 7.2.0 (Debian 7.2.0-6)) #2 SMP Fri Sep 22 13:30:44 EEST 2017
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 3487cca572..f3dac68bde 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -3314,17 +3314,23 @@ HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstanceEx(
init_multi_qi(cmq, pResults, E_NOINTERFACE);
- hres = CoGetTreatAsClass(rclsid, &clsid);
- if(FAILED(hres))
#define _GNU_SOURCE
#include <errno.h>
#include <fcntl.h>
#include <sys/file.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#define DEBUG_OUTPUT 1
@DataBeaver
DataBeaver / gl_new.c
Created February 24, 2022 06:48
Graphics API comparison
#include <X11/Xlib.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/glx.h>
#include <GL/gl.h>
#include <GL/glext.h>
const char *vertex_src =
"#version 330 core\n"
"layout(location=0) in vec2 position;\n"
"layout(location=1) in vec3 color;\n"