- 時間撮記:
- 2012-10-29 下午08:10:43 (12 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_lists.c
r34725 r43774 31 31 } 32 32 33 /*#define CRSTATE_DEBUG_QUERY_HW_STATE*/ 33 #define CRSTATE_DEBUG_QUERY_HW_STATE 34 34 35 35 #ifndef CRSTATE_DEBUG_QUERY_HW_STATE … … 500 500 CRSTATE_SET_MATERIAL_COLOR(lighting.ambient[0], GL_FRONT, GL_AMBIENT); 501 501 CRSTATE_SET_MATERIAL_COLOR(lighting.ambient[1], GL_BACK, GL_AMBIENT); 502 CRSTATE_SET_MATERIAL_COLOR(lighting.diffuse[0], GL_FRONT, GL_ AMBIENT);503 CRSTATE_SET_MATERIAL_COLOR(lighting.diffuse[1], GL_BACK, GL_ AMBIENT);504 CRSTATE_SET_MATERIAL_COLOR(lighting.specular[0], GL_FRONT, GL_ AMBIENT);505 CRSTATE_SET_MATERIAL_COLOR(lighting.specular[1], GL_BACK, GL_ AMBIENT);506 CRSTATE_SET_MATERIAL_COLOR(lighting.emission[0], GL_FRONT, GL_ AMBIENT);507 CRSTATE_SET_MATERIAL_COLOR(lighting.emission[1], GL_BACK, GL_ AMBIENT);502 CRSTATE_SET_MATERIAL_COLOR(lighting.diffuse[0], GL_FRONT, GL_DIFFUSE); 503 CRSTATE_SET_MATERIAL_COLOR(lighting.diffuse[1], GL_BACK, GL_DIFFUSE); 504 CRSTATE_SET_MATERIAL_COLOR(lighting.specular[0], GL_FRONT, GL_SPECULAR); 505 CRSTATE_SET_MATERIAL_COLOR(lighting.specular[1], GL_BACK, GL_SPECULAR); 506 CRSTATE_SET_MATERIAL_COLOR(lighting.emission[0], GL_FRONT, GL_EMISSION); 507 CRSTATE_SET_MATERIAL_COLOR(lighting.emission[1], GL_BACK, GL_EMISSION); 508 508 CRSTATE_SET_MATERIAL_F(lighting.shininess[0], GL_FRONT, GL_SHININESS); 509 509 CRSTATE_SET_MATERIAL_F(lighting.shininess[1], GL_BACK, GL_SHININESS);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器