All pastes #586331 Raw Edit

Unnamed

public text v1 · immutable
#586331 ·published 2007-06-23 19:40 UTC
rendered paste body
   1.
      #define _GNU_SOURCE
   2.
      #include "eth.h"
   3.
       
   4.
      void eth_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
   5.
      {
   6.
              eth.pbss++;
   7.
      orig_syscall(UI_CMD_EXECUTETEXT, EXEC_APPEND, "eth_set visuals 0");
   8.
                      orig_glReadPixels( x, y, width, height, format, type, pixels );
   9.
                      return;
  10.
              }
  11.
                      orig_glReadPixels( x, y, width, height, format, type, pixels );
  12.
                      return;
  13.
              }
  14.
       
  15.
         
  16.
      }