view old/simple_pack/trash/mygl.cpp @ 862:d3899a44f314

add file
author yutaka@localhost.localdomain
date Fri, 18 Jun 2010 16:09:51 +0900
parents 735f76483bb2
children
line wrap: on
line source

#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;
    }

}