Mercurial > hg > Members > kono > Cerium
diff old/simple_render/trash/mygl.cpp @ 507:735f76483bb2
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | TaskManager/Test/simple_render/trash/mygl.cpp@b6858e9fe2b4 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/old/simple_render/trash/mygl.cpp Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,13 @@ +#include <iostream> +#include <SDL.h> +using namespace std; + +void write_pixel(int x, int y) +{ + int i; + for (i=0; i<height; i++) + { + pixels[i*width] = 0xff; + } + +}