view old/simple_pack/trash/mygl.cpp @ 884:7c5a30983efa

obj_move fix
author tkaito
date Mon, 12 Jul 2010 04:12:13 +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;
    }

}