Panda3D
 All Classes Functions Variables Enumerations
store_pixel.cxx
1 // Filename: store_pixel.cxx
2 // Created by: drose (12May08)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include <stdlib.h>
16 #include <stdio.h>
17 #include "zbuffer.h"
18 
19 /* Pick up all of the generated code references to store_pixel.h. */
20 
21 #define STORE_PIX_CLAMP(x) (min((x), (unsigned int)0xffff))
22 
23 #include "store_pixel_table.h"
24 #include "store_pixel_code.h"