Search Results for 'GLSL'

ATOM Icon

1 POSTS

  1. 2008/11/01 Setup for GLSL by chungki

Setup for GLSL

#include <GL/glew.h>
#include <GL/glut.h>

void main(int argc, char **argv) 
{
glutInit(&argc, argv);

...

glewInit();
if (GLEW_ARB_vertex_shader && GLEW_ARB_fragment_shader)
printf("Ready for GLSL\n");
else {
printf("Not totally ready :( \n");
exit(1);
}

setShaders();
 glutMainLoop();
}

Posted by chungki

2008/11/01 13:36 2008/11/01 13:36
, ,
Response
No Trackback , No Comment
RSS :
http://www.chungki.net/tc/rss/response/267


블로그 이미지

Nice !!!!!!!!

- chungki

Notices

Archives

Authors

  1. chungki

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Site Stats

Total hits:
73375
Today:
6
Yesterday:
20