This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stacktrace (Thread Heavies) : | |
Frame 0: threading::RealThread::run (C:\Users\Lukas\Desktop\Upvoid\genesis\src\Threading\RealThread.cc@35) | |
Stacktrace (Thread Heavies) : | |
Frame 0: threading::RealThread::run (C:\Users\Lukas\Desktop\Upvoid\genesis\src\Threading\RealThread.cc@35) | |
Stacktrace (Thread Immediates (Network)) : | |
Frame 0: threading::RealThread::run (C:\Users\Lukas\Desktop\Upvoid\genesis\src\Threading\RealThread.cc@35) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
public class Program | |
{ | |
static ModuleBuilder modb; | |
static Type type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a texture and bind it to two FBOs | |
GLuint textureName; | |
glGenTextures(1, &textureName); | |
glBindTexture(GL_TEXTURE_RECTANGLE, textureName); | |
glTexImage2D(GL_TEXTURE_RECTANGLE, 0, GL_RGBA, 2, 2, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); | |
GLuint fboNames[2]; | |
glGenFramebuffers(2, fboNames); | |
glBindFramebuffer(GL_FRAMEBUFFER, fboNames[0]); | |
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_RECTANGLE, textureName, 0); |