initial check-in
[mesa.git] / src / glut / beos / glutColor.cpp
1 /***********************************************************
2 * Copyright (C) 1997, Be Inc. All rights reserved.
3 *
4 * FILE: glutColor.cpp
5 *
6 * DESCRIPTION: we don't support indexed color, so this code is
7 * really simple
8 ***********************************************************/
9
10 /***********************************************************
11 * Headers
12 ***********************************************************/
13 #include <GL/glut.h>
14 #include "glutint.h"
15
16 void glutSetColor(int cell, GLfloat red, GLfloat green, GLfloat blue) {
17 __glutWarning("glutSetColor: current window is RGBA");
18 }
19
20 GLfloat glutGetColor(int cell, int component) {
21 __glutWarning("glutGetColor: current window is RGBA");
22 return -1.0;
23 }
24
25 void glutCopyColormap(int win) {
26 __glutWarning("glutCopyColormap: color index not supported in BeOS");
27 }