xref: /haiku/src/libs/glut/glutColor.cpp (revision 21258e2674226d6aa732321b6f8494841895af5f)
1 /***********************************************************
2  *      Copyright (C) 1997, Be Inc.  Copyright (C) 1999, Jake Hamby.
3  *
4  * This program is freely distributable without licensing fees
5  * and is provided without guarantee or warrantee expressed or
6  * implied. This program is -not- in the public domain.
7  *
8  *
9  *  FILE:	glutColor.cpp
10  *
11  *	DESCRIPTION:	we don't support indexed color, so this code is
12  *		really simple
13  ***********************************************************/
14 
15 /***********************************************************
16  *	Headers
17  ***********************************************************/
18 #include <GL/glut.h>
19 #include "glutint.h"
20 
21 void glutSetColor(int cell, GLfloat red, GLfloat green, GLfloat blue) {
22 	__glutWarning("glutSetColor: current window is RGBA");
23 }
24 
25 GLfloat glutGetColor(int cell, int component) {
26 	__glutWarning("glutGetColor: current window is RGBA");
27 	return -1.0;
28 }
29 
30 void glutCopyColormap(int win) {
31 	__glutWarning("glutCopyColormap: color index not supported in BeOS");
32 }
33