port from perforce
This commit is contained in:
16
uc16-4k/Shaders.h
Normal file
16
uc16-4k/Shaders.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#define MAX_SHADER_ID 1
|
||||
|
||||
#include <windows.h>
|
||||
#include <iostream>
|
||||
#include <GL/gl.h>
|
||||
#include "glext.h"
|
||||
#define myGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
|
||||
|
||||
void initShaders();
|
||||
GLhandleARB createFragmentProgram(const char* as_FileName);
|
||||
void PrintErrors();
|
||||
void useProgram(GLhandleARB ah_Program);
|
||||
char* textFileRead(const char* as_FileName);
|
||||
void printProgramInfoLog(GLhandleARB ah_Program);
|
||||
Reference in New Issue
Block a user