Skip to content

Instantly share code, notes, and snippets.

@darkuranium
darkuranium / ProblemMCVE.cpp
Last active May 9, 2017
Problem MCVE for Urho3D instancing issue
View ProblemMCVE.cpp
// Enable this to work around the problem.
//#define COMPILE_WORKAROUND
#ifdef _MSC_VER
#pragma warning( disable : 4005 ) // macro redefinition for URHO3D_STATIC_DEFINE and URHO3D_SSE in <Urho3D/Urho3D.h>
#endif
#include <Urho3D/Urho3D.h>
#include <Urho3D/Core/CoreEvents.h>
#include <Urho3D/Engine/Application.h>
#include <Urho3D/Input/Input.h>
@darkuranium
darkuranium / winerror.h
Created Jan 21, 2015
Patches for MinGW-W64 project
View winerror.h
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _WINERROR_
#define _WINERROR_
#define __IN__WINERROR_ 1
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.