comparison src/video/qnxgf/SDL_gf_opengles.c @ 3109:7b3a09fb9c8b

Support for HID devices (mice and keyboards only for now) has been added
author Mike Gorchak <lestat@i.com.ua>
date Tue, 28 Apr 2009 04:33:30 +0000
parents 82e60908fab1
children 7f684f249ec9
comparison
equal deleted inserted replaced
3108:aa1897bee1e9 3109:7b3a09fb9c8b
1 Date: Mon, 23 Mar 2009 09:17:24 +0200
2 From: "Mike Gorchak" <mike@malva.ua>
3 To: "Sam Lantinga" <slouken@devolution.com>
4 Subject: New QNX patches
5
6 /* 1 /*
7 SDL - Simple DirectMedia Layer 2 SDL - Simple DirectMedia Layer
8 Copyright (C) 1997-2009 Sam Lantinga 3 Copyright (C) 1997-2009 Sam Lantinga
9 4
10 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
51 GLAPI void APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) 46 GLAPI void APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
52 { 47 {
53 glColor4f(((GLfloat)red)/255.f, ((GLfloat)green)/255.f, ((GLfloat)blue)/255.f, ((GLfloat)alpha)/255.f); 48 glColor4f(((GLfloat)red)/255.f, ((GLfloat)green)/255.f, ((GLfloat)blue)/255.f, ((GLfloat)alpha)/255.f);
54 return; 49 return;
55 } 50 }
56