summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-11 01:45:04 +0000
committerBrian Paul <[email protected]>2005-09-11 01:45:04 +0000
commit2eef2eca872e3fbff5c2876507b4cdff8e86c3a6 (patch)
treec14de99510e7da2a6d777e6ac03b98ee3ee0bae0 /src/mesa/drivers
parent7f8cb30ccc88270eb1d7ca29f9dc69a4b7d540bf (diff)
Silence some warnings.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/fbdev/glfbdev.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/mesa/drivers/fbdev/glfbdev.c b/src/mesa/drivers/fbdev/glfbdev.c
index 7f66c46fd90..01b178fb126 100644
--- a/src/mesa/drivers/fbdev/glfbdev.c
+++ b/src/mesa/drivers/fbdev/glfbdev.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.1
+ * Version: 6.5
*
- * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -38,6 +38,7 @@
* 24 bits | ? 0x312 0x315 0x318 ? 0x31B 0x31F
* 32 bits | ? ? ? ? 0x164 ?
*/
+
#ifdef USE_GLFBDEV_DRIVER
#include "glheader.h"
@@ -286,7 +287,7 @@ glFBDevGetString( int str )
}
-const GLFBDevProc
+GLFBDevProc
glFBDevGetProcAddress( const char *procName )
{
struct name_address {
@@ -513,6 +514,7 @@ new_glfbdev_renderbuffer(void *bufferStart, int pixelFormat)
rb->Base.GetRow = get_row_B8G8R8;
rb->Base.GetValues = get_values_B8G8R8;
rb->Base.PutRow = put_row_B8G8R8;
+ rb->Base.PutRowRGB = put_row_rgb_B8G8R8;
rb->Base.PutMonoRow = put_mono_row_B8G8R8;
rb->Base.PutValues = put_values_B8G8R8;
rb->Base.PutMonoValues = put_mono_values_B8G8R8;
@@ -521,6 +523,7 @@ new_glfbdev_renderbuffer(void *bufferStart, int pixelFormat)
rb->Base.GetRow = get_row_B8G8R8A8;
rb->Base.GetValues = get_values_B8G8R8A8;
rb->Base.PutRow = put_row_B8G8R8A8;
+ rb->Base.PutRowRGB = put_row_rgb_B8G8R8A8;
rb->Base.PutMonoRow = put_mono_row_B8G8R8A8;
rb->Base.PutValues = put_values_B8G8R8A8;
rb->Base.PutMonoValues = put_mono_values_B8G8R8A8;
@@ -529,6 +532,7 @@ new_glfbdev_renderbuffer(void *bufferStart, int pixelFormat)
rb->Base.GetRow = get_row_B5G6R5;
rb->Base.GetValues = get_values_B5G6R5;
rb->Base.PutRow = put_row_B5G6R5;
+ rb->Base.PutRowRGB = put_row_rgb_B5G6R5;
rb->Base.PutMonoRow = put_mono_row_B5G6R5;
rb->Base.PutValues = put_values_B5G6R5;
rb->Base.PutMonoValues = put_mono_values_B5G6R5;
@@ -537,6 +541,7 @@ new_glfbdev_renderbuffer(void *bufferStart, int pixelFormat)
rb->Base.GetRow = get_row_B5G5R5;
rb->Base.GetValues = get_values_B5G5R5;
rb->Base.PutRow = put_row_B5G5R5;
+ rb->Base.PutRowRGB = put_row_rgb_B5G5R5;
rb->Base.PutMonoRow = put_mono_row_B5G5R5;
rb->Base.PutValues = put_values_B5G5R5;
rb->Base.PutMonoValues = put_mono_values_B5G5R5;
@@ -834,4 +839,4 @@ glFBDevMakeCurrent( GLFBDevContextPtr context,
return 1;
}
-#endif
+#endif /* USE_GLFBDEV_DRIVER */