Browse Source

increment P3D_API_VERSION to 9

David Rose 16 years ago
parent
commit
a749fd47cd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/plugin/p3d_plugin.h

+ 2 - 2
direct/src/plugin/p3d_plugin.h

@@ -79,7 +79,7 @@ extern "C" {
    (below). This number will be incremented whenever there are changes
    (below). This number will be incremented whenever there are changes
    to any of the interface specifications defined in this header
    to any of the interface specifications defined in this header
    file. */
    file. */
-#define P3D_API_VERSION 8
+#define P3D_API_VERSION 9
 
 
 /************************ GLOBAL FUNCTIONS **************************/
 /************************ GLOBAL FUNCTIONS **************************/
 
 
@@ -201,7 +201,7 @@ typedef struct {
    handle types for the different platforms. */
    handle types for the different platforms. */
 
 
 typedef enum {
 typedef enum {
-  P3D_WHT_none,
+  P3D_WHT_none = 0,
   P3D_WHT_win_hwnd,
   P3D_WHT_win_hwnd,
   P3D_WHT_osx_port,
   P3D_WHT_osx_port,
   P3D_WHT_x11_window,
   P3D_WHT_x11_window,